chromium/out/Default/gen/components/services/storage/privileged/mojom/indexed_db_internals_types.mojom.cc

// components/services/storage/privileged/mojom/indexed_db_internals_types.mojom.cc is auto generated by mojom_bindings_generator.py, do not edit

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

#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif

#include "components/services/storage/privileged/mojom/indexed_db_internals_types.mojom.h"

#include <math.h>
#include <stdint.h>
#include <utility>

#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"

#include "components/services/storage/privileged/mojom/indexed_db_internals_types.mojom-params-data.h"
#include "components/services/storage/privileged/mojom/indexed_db_internals_types.mojom-shared-message-ids.h"

#include "components/services/storage/privileged/mojom/indexed_db_internals_types.mojom-import-headers.h"
#include "components/services/storage/privileged/mojom/indexed_db_internals_types.mojom-test-utils.h"


namespace storage::mojom {
IdbOriginMetadata::IdbOriginMetadata()
    :{}

IdbOriginMetadata::IdbOriginMetadata(
    const ::url::Origin& origin_in,
    std::vector<IdbStorageKeyMetadataPtr> storage_keys_in)
    :{}

IdbOriginMetadata::~IdbOriginMetadata() = default;

void IdbOriginMetadata::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool IdbOriginMetadata::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
IdbStorageKeyMetadata::IdbStorageKeyMetadata()
    :{}

IdbStorageKeyMetadata::IdbStorageKeyMetadata(
    const ::net::SchemefulSite& top_level_site_in,
    const std::string& serialized_storage_key_in,
    std::vector<IdbBucketMetadataPtr> buckets_in)
    :{}

IdbStorageKeyMetadata::~IdbStorageKeyMetadata() = default;

void IdbStorageKeyMetadata::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool IdbStorageKeyMetadata::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
IdbBucketMetadata::IdbBucketMetadata()
    :{}

IdbBucketMetadata::IdbBucketMetadata(
    const ::storage::BucketLocator& bucket_locator_in,
    const std::string& name_in,
    uint64_t size_in,
    ::base::Time last_modified_in,
    std::vector<::base::FilePath> paths_in,
    uint64_t connection_count_in,
    std::vector<IdbDatabaseMetadataPtr> databases_in,
    std::vector<::storage::BucketClientInfo> clients_in,
    uint64_t delta_recording_start_ms_in)
    :{}

IdbBucketMetadata::~IdbBucketMetadata() = default;

void IdbBucketMetadata::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool IdbBucketMetadata::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
IdbDatabaseMetadata::IdbDatabaseMetadata()
    :{}

IdbDatabaseMetadata::IdbDatabaseMetadata(
    const ::std::u16string& name_in,
    uint64_t connection_count_in,
    uint64_t active_open_delete_in,
    uint64_t pending_open_delete_in,
    std::vector<IdbTransactionMetadataPtr> transactions_in)
    :{}

IdbDatabaseMetadata::~IdbDatabaseMetadata() = default;

void IdbDatabaseMetadata::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool IdbDatabaseMetadata::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
IdbTransactionMetadata::IdbTransactionMetadata()
    :{}

IdbTransactionMetadata::IdbTransactionMetadata(
    IdbTransactionMode mode_in,
    IdbTransactionState state_in,
    int64_t tid_in,
    int32_t connection_id_in,
    const std::string& client_token_in,
    double age_in,
    double runtime_in,
    double tasks_scheduled_in,
    double tasks_completed_in,
    std::vector<::std::u16string> scope_in,
    std::vector<IdbTransactionMetadataStateHistoryPtr> state_history_in)
    :{}

IdbTransactionMetadata::~IdbTransactionMetadata() = default;

void IdbTransactionMetadata::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool IdbTransactionMetadata::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
IdbTransactionMetadataStateHistory::IdbTransactionMetadataStateHistory()
    :{}

IdbTransactionMetadataStateHistory::IdbTransactionMetadataStateHistory(
    IdbTransactionState state_in,
    double duration_in)
    :{}

IdbTransactionMetadataStateHistory::~IdbTransactionMetadataStateHistory() = default;
size_t IdbTransactionMetadataStateHistory::Hash(size_t seed) const {}

void IdbTransactionMetadataStateHistory::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

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


}  // storage::mojom


namespace mojo {


// static
bool StructTraits<::storage::mojom::IdbOriginMetadata::DataView, ::storage::mojom::IdbOriginMetadataPtr>::Read(
    ::storage::mojom::IdbOriginMetadata::DataView input,
    ::storage::mojom::IdbOriginMetadataPtr* output) {}


// static
bool StructTraits<::storage::mojom::IdbStorageKeyMetadata::DataView, ::storage::mojom::IdbStorageKeyMetadataPtr>::Read(
    ::storage::mojom::IdbStorageKeyMetadata::DataView input,
    ::storage::mojom::IdbStorageKeyMetadataPtr* output) {}


// static
bool StructTraits<::storage::mojom::IdbBucketMetadata::DataView, ::storage::mojom::IdbBucketMetadataPtr>::Read(
    ::storage::mojom::IdbBucketMetadata::DataView input,
    ::storage::mojom::IdbBucketMetadataPtr* output) {}


// static
bool StructTraits<::storage::mojom::IdbDatabaseMetadata::DataView, ::storage::mojom::IdbDatabaseMetadataPtr>::Read(
    ::storage::mojom::IdbDatabaseMetadata::DataView input,
    ::storage::mojom::IdbDatabaseMetadataPtr* output) {}


// static
bool StructTraits<::storage::mojom::IdbTransactionMetadata::DataView, ::storage::mojom::IdbTransactionMetadataPtr>::Read(
    ::storage::mojom::IdbTransactionMetadata::DataView input,
    ::storage::mojom::IdbTransactionMetadataPtr* output) {}


// static
bool StructTraits<::storage::mojom::IdbTransactionMetadataStateHistory::DataView, ::storage::mojom::IdbTransactionMetadataStateHistoryPtr>::Read(
    ::storage::mojom::IdbTransactionMetadataStateHistory::DataView input,
    ::storage::mojom::IdbTransactionMetadataStateHistoryPtr* output) {}

}  // namespace mojo


// Symbols declared in the -test-utils.h header are defined here instead of a
// separate .cc file to save compile time.


namespace storage::mojom {




}  // storage::mojom


#if defined(__clang__)
#pragma clang diagnostic pop
#endif