chromium/out/Default/gen/third_party/blink/public/mojom/indexeddb/indexeddb.mojom-shared.cc

// third_party/blink/public/mojom/indexeddb/indexeddb.mojom-shared.cc is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/public/mojom/indexeddb/indexeddb.mojom-shared.h"

// Used to support stream output operator for enums.
// TODO(dcheng): Consider omitting this somehow if not needed.
#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/indexeddb/indexeddb.mojom-params-data.h"
namespace blink {
namespace mojom {

NOINLINE static const char* IDBCursorDirectionToStringHelper(IDBCursorDirection value) {}

std::string IDBCursorDirectionToString(IDBCursorDirection value) {}

std::ostream& operator<<(std::ostream& os, IDBCursorDirection value) {}

NOINLINE static const char* IDBDataLossToStringHelper(IDBDataLoss value) {}

std::string IDBDataLossToString(IDBDataLoss value) {}

std::ostream& operator<<(std::ostream& os, IDBDataLoss value) {}

NOINLINE static const char* IDBKeyTypeToStringHelper(IDBKeyType value) {}

std::string IDBKeyTypeToString(IDBKeyType value) {}

std::ostream& operator<<(std::ostream& os, IDBKeyType value) {}

NOINLINE static const char* IDBTransactionDurabilityToStringHelper(IDBTransactionDurability value) {}

std::string IDBTransactionDurabilityToString(IDBTransactionDurability value) {}

std::ostream& operator<<(std::ostream& os, IDBTransactionDurability value) {}

NOINLINE static const char* IDBKeyPathTypeToStringHelper(IDBKeyPathType value) {}

std::string IDBKeyPathTypeToString(IDBKeyPathType value) {}

std::ostream& operator<<(std::ostream& os, IDBKeyPathType value) {}

NOINLINE static const char* IDBOperationTypeToStringHelper(IDBOperationType value) {}

std::string IDBOperationTypeToString(IDBOperationType value) {}

std::ostream& operator<<(std::ostream& os, IDBOperationType value) {}

NOINLINE static const char* IDBPutModeToStringHelper(IDBPutMode value) {}

std::string IDBPutModeToString(IDBPutMode value) {}

std::ostream& operator<<(std::ostream& os, IDBPutMode value) {}

NOINLINE static const char* IDBTaskTypeToStringHelper(IDBTaskType value) {}

std::string IDBTaskTypeToString(IDBTaskType value) {}

std::ostream& operator<<(std::ostream& os, IDBTaskType value) {}

NOINLINE static const char* IDBTransactionModeToStringHelper(IDBTransactionMode value) {}

std::string IDBTransactionModeToString(IDBTransactionMode value) {}

std::ostream& operator<<(std::ostream& os, IDBTransactionMode value) {}

NOINLINE static const char* IDBExceptionToStringHelper(IDBException value) {}

std::string IDBExceptionToString(IDBException value) {}

std::ostream& operator<<(std::ostream& os, IDBException value) {}

namespace internal {
// static
bool IDBKey_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context,
    bool inlined) {}
// static
bool IDBKeyPathData_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context,
    bool inlined) {}
// static
bool IDBExternalObject_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context,
    bool inlined) {}
// static
bool IDBCursorResult_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context,
    bool inlined) {}
// static
bool IDBTransactionPutResult_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context,
    bool inlined) {}
// static
bool IDBDatabaseGetResult_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context,
    bool inlined) {}
// static
bool IDBDatabaseOpenCursorResult_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context,
    bool inlined) {}


// static
bool IDBKeyPath_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBKeyPath_Data::IDBKeyPath_Data()
    :{}


// static
bool IDBKeyRange_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBKeyRange_Data::IDBKeyRange_Data()
    :{}


// static
bool IDBIndexMetadata_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBIndexMetadata_Data::IDBIndexMetadata_Data()
    :{}


// static
bool IDBObjectStoreMetadata_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBObjectStoreMetadata_Data::IDBObjectStoreMetadata_Data()
    :{}


// static
bool IDBDatabaseMetadata_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabaseMetadata_Data::IDBDatabaseMetadata_Data()
    :{}


// static
bool IDBNameAndVersion_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBNameAndVersion_Data::IDBNameAndVersion_Data()
    :{}


// static
bool IDBIndexKeys_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBIndexKeys_Data::IDBIndexKeys_Data()
    :{}


// static
bool IDBFileInfo_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBFileInfo_Data::IDBFileInfo_Data()
    :{}


// static
bool IDBBlobInfo_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBBlobInfo_Data::IDBBlobInfo_Data()
    :{}


// static
bool IDBValue_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBValue_Data::IDBValue_Data()
    :{}


// static
bool IDBReturnValue_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBReturnValue_Data::IDBReturnValue_Data()
    :{}


// static
bool IDBError_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBError_Data::IDBError_Data()
    :{}


// static
bool IDBCursorValue_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBCursorValue_Data::IDBCursorValue_Data()
    :{}


// static
bool IDBDatabaseOpenCursorValue_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabaseOpenCursorValue_Data::IDBDatabaseOpenCursorValue_Data()
    :{}


// static
bool IDBFactoryClient_Error_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBFactoryClient_Error_Params_Data::IDBFactoryClient_Error_Params_Data()
    :{}


// static
bool IDBFactoryClient_Blocked_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBFactoryClient_Blocked_Params_Data::IDBFactoryClient_Blocked_Params_Data()
    :{}


// static
bool IDBFactoryClient_UpgradeNeeded_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBFactoryClient_UpgradeNeeded_Params_Data::IDBFactoryClient_UpgradeNeeded_Params_Data()
    :{}


// static
bool IDBFactoryClient_OpenSuccess_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBFactoryClient_OpenSuccess_Params_Data::IDBFactoryClient_OpenSuccess_Params_Data()
    :{}


// static
bool IDBFactoryClient_DeleteSuccess_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBFactoryClient_DeleteSuccess_Params_Data::IDBFactoryClient_DeleteSuccess_Params_Data()
    :{}


// static
bool IDBDatabaseCallbacks_ForcedClose_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabaseCallbacks_ForcedClose_Params_Data::IDBDatabaseCallbacks_ForcedClose_Params_Data()
    :{}


// static
bool IDBDatabaseCallbacks_VersionChange_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabaseCallbacks_VersionChange_Params_Data::IDBDatabaseCallbacks_VersionChange_Params_Data()
    :{}


// static
bool IDBDatabaseCallbacks_Abort_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabaseCallbacks_Abort_Params_Data::IDBDatabaseCallbacks_Abort_Params_Data()
    :{}


// static
bool IDBDatabaseCallbacks_Complete_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabaseCallbacks_Complete_Params_Data::IDBDatabaseCallbacks_Complete_Params_Data()
    :{}


// static
bool IDBCursor_Advance_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBCursor_Advance_Params_Data::IDBCursor_Advance_Params_Data()
    :{}


// static
bool IDBCursor_Advance_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBCursor_Advance_ResponseParams_Data::IDBCursor_Advance_ResponseParams_Data()
    :{}


// static
bool IDBCursor_Continue_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBCursor_Continue_Params_Data::IDBCursor_Continue_Params_Data()
    :{}


// static
bool IDBCursor_Continue_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBCursor_Continue_ResponseParams_Data::IDBCursor_Continue_ResponseParams_Data()
    :{}


// static
bool IDBCursor_Prefetch_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBCursor_Prefetch_Params_Data::IDBCursor_Prefetch_Params_Data()
    :{}


// static
bool IDBCursor_Prefetch_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBCursor_Prefetch_ResponseParams_Data::IDBCursor_Prefetch_ResponseParams_Data()
    :{}


// static
bool IDBCursor_PrefetchReset_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBCursor_PrefetchReset_Params_Data::IDBCursor_PrefetchReset_Params_Data()
    :{}


// static
bool IDBTransaction_CreateObjectStore_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBTransaction_CreateObjectStore_Params_Data::IDBTransaction_CreateObjectStore_Params_Data()
    :{}


// static
bool IDBTransaction_DeleteObjectStore_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBTransaction_DeleteObjectStore_Params_Data::IDBTransaction_DeleteObjectStore_Params_Data()
    :{}


// static
bool IDBTransaction_Put_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBTransaction_Put_Params_Data::IDBTransaction_Put_Params_Data()
    :{}


// static
bool IDBTransaction_Put_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBTransaction_Put_ResponseParams_Data::IDBTransaction_Put_ResponseParams_Data()
    :{}


// static
bool IDBTransaction_Commit_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBTransaction_Commit_Params_Data::IDBTransaction_Commit_Params_Data()
    :{}


// static
bool IDBDatabaseGetAllResultSink_ReceiveValues_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabaseGetAllResultSink_ReceiveValues_Params_Data::IDBDatabaseGetAllResultSink_ReceiveValues_Params_Data()
    :{}


// static
bool IDBDatabaseGetAllResultSink_ReceiveKeys_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabaseGetAllResultSink_ReceiveKeys_Params_Data::IDBDatabaseGetAllResultSink_ReceiveKeys_Params_Data()
    :{}


// static
bool IDBDatabaseGetAllResultSink_OnError_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabaseGetAllResultSink_OnError_Params_Data::IDBDatabaseGetAllResultSink_OnError_Params_Data()
    :{}


// static
bool IDBDatabase_RenameObjectStore_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_RenameObjectStore_Params_Data::IDBDatabase_RenameObjectStore_Params_Data()
    :{}


// static
bool IDBDatabase_CreateTransaction_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_CreateTransaction_Params_Data::IDBDatabase_CreateTransaction_Params_Data()
    :{}


// static
bool IDBDatabase_VersionChangeIgnored_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_VersionChangeIgnored_Params_Data::IDBDatabase_VersionChangeIgnored_Params_Data()
    :{}


// static
bool IDBDatabase_Get_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_Get_Params_Data::IDBDatabase_Get_Params_Data()
    :{}


// static
bool IDBDatabase_Get_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_Get_ResponseParams_Data::IDBDatabase_Get_ResponseParams_Data()
    :{}


// static
bool IDBDatabase_GetAll_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_GetAll_Params_Data::IDBDatabase_GetAll_Params_Data()
    :{}


// static
bool IDBDatabase_GetAll_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_GetAll_ResponseParams_Data::IDBDatabase_GetAll_ResponseParams_Data()
    :{}


// static
bool IDBDatabase_SetIndexKeys_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_SetIndexKeys_Params_Data::IDBDatabase_SetIndexKeys_Params_Data()
    :{}


// static
bool IDBDatabase_SetIndexesReady_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_SetIndexesReady_Params_Data::IDBDatabase_SetIndexesReady_Params_Data()
    :{}


// static
bool IDBDatabase_OpenCursor_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_OpenCursor_Params_Data::IDBDatabase_OpenCursor_Params_Data()
    :{}


// static
bool IDBDatabase_OpenCursor_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_OpenCursor_ResponseParams_Data::IDBDatabase_OpenCursor_ResponseParams_Data()
    :{}


// static
bool IDBDatabase_Count_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_Count_Params_Data::IDBDatabase_Count_Params_Data()
    :{}


// static
bool IDBDatabase_Count_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_Count_ResponseParams_Data::IDBDatabase_Count_ResponseParams_Data()
    :{}


// static
bool IDBDatabase_DeleteRange_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_DeleteRange_Params_Data::IDBDatabase_DeleteRange_Params_Data()
    :{}


// static
bool IDBDatabase_DeleteRange_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_DeleteRange_ResponseParams_Data::IDBDatabase_DeleteRange_ResponseParams_Data()
    :{}


// static
bool IDBDatabase_GetKeyGeneratorCurrentNumber_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_GetKeyGeneratorCurrentNumber_Params_Data::IDBDatabase_GetKeyGeneratorCurrentNumber_Params_Data()
    :{}


// static
bool IDBDatabase_GetKeyGeneratorCurrentNumber_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_GetKeyGeneratorCurrentNumber_ResponseParams_Data::IDBDatabase_GetKeyGeneratorCurrentNumber_ResponseParams_Data()
    :{}


// static
bool IDBDatabase_Clear_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_Clear_Params_Data::IDBDatabase_Clear_Params_Data()
    :{}


// static
bool IDBDatabase_Clear_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_Clear_ResponseParams_Data::IDBDatabase_Clear_ResponseParams_Data()
    :{}


// static
bool IDBDatabase_CreateIndex_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_CreateIndex_Params_Data::IDBDatabase_CreateIndex_Params_Data()
    :{}


// static
bool IDBDatabase_DeleteIndex_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_DeleteIndex_Params_Data::IDBDatabase_DeleteIndex_Params_Data()
    :{}


// static
bool IDBDatabase_RenameIndex_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_RenameIndex_Params_Data::IDBDatabase_RenameIndex_Params_Data()
    :{}


// static
bool IDBDatabase_Abort_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_Abort_Params_Data::IDBDatabase_Abort_Params_Data()
    :{}


// static
bool IDBDatabase_DidBecomeInactive_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBDatabase_DidBecomeInactive_Params_Data::IDBDatabase_DidBecomeInactive_Params_Data()
    :{}


// static
bool IDBFactory_GetDatabaseInfo_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBFactory_GetDatabaseInfo_Params_Data::IDBFactory_GetDatabaseInfo_Params_Data()
    :{}


// static
bool IDBFactory_GetDatabaseInfo_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBFactory_GetDatabaseInfo_ResponseParams_Data::IDBFactory_GetDatabaseInfo_ResponseParams_Data()
    :{}


// static
bool IDBFactory_Open_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBFactory_Open_Params_Data::IDBFactory_Open_Params_Data()
    :{}


// static
bool IDBFactory_DeleteDatabase_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

IDBFactory_DeleteDatabase_Params_Data::IDBFactory_DeleteDatabase_Params_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace blink

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::IDBCursorDirection>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::IDBCursorDirection value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::IDBDataLoss>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::IDBDataLoss value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::IDBKeyType>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::IDBKeyType value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::IDBTransactionDurability>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::IDBTransactionDurability value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::IDBKeyPathType>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::IDBKeyPathType value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::IDBOperationType>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::IDBOperationType value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::IDBPutMode>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::IDBPutMode value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::IDBTaskType>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::IDBTaskType value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::IDBTransactionMode>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::IDBTransactionMode value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::IDBException>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::IDBException value) {}

} // namespace perfetto