#include "third_party/blink/public/mojom/choosers/file_chooser.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "third_party/blink/public/mojom/choosers/file_chooser.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* FileChooserParams_ModeToStringHelper(FileChooserParams_Mode value) { … }
std::string FileChooserParams_ModeToString(FileChooserParams_Mode value) { … }
std::ostream& operator<<(std::ostream& os, FileChooserParams_Mode value) { … }
namespace internal {
bool FileChooserFileInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool FileChooserParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileChooserParams_Data::FileChooserParams_Data()
: … { … }
bool NativeFileInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
NativeFileInfo_Data::NativeFileInfo_Data()
: … { … }
bool FileSystemFileInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileSystemFileInfo_Data::FileSystemFileInfo_Data()
: … { … }
bool FileChooserResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileChooserResult_Data::FileChooserResult_Data()
: … { … }
bool FileChooser_OpenFileChooser_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileChooser_OpenFileChooser_Params_Data::FileChooser_OpenFileChooser_Params_Data()
: … { … }
bool FileChooser_OpenFileChooser_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileChooser_OpenFileChooser_ResponseParams_Data::FileChooser_OpenFileChooser_ResponseParams_Data()
: … { … }
bool FileChooser_EnumerateChosenDirectory_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileChooser_EnumerateChosenDirectory_Params_Data::FileChooser_EnumerateChosenDirectory_Params_Data()
: … { … }
bool FileChooser_EnumerateChosenDirectory_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FileChooser_EnumerateChosenDirectory_ResponseParams_Data::FileChooser_EnumerateChosenDirectory_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::FileChooserParams_Mode>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::FileChooserParams_Mode value) { … }
}