chromium/content/browser/indexed_db/indexed_db_factory_client.cc

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

#include "content/browser/indexed_db/indexed_db_factory_client.h"

#include <forward_list>
#include <memory>
#include <ostream>
#include <utility>

#include "base/check.h"
#include "base/check_op.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/task/sequenced_task_runner.h"
#include "content/browser/indexed_db/indexed_db_connection.h"
#include "content/browser/indexed_db/indexed_db_data_loss_info.h"
#include "content/browser/indexed_db/indexed_db_database_error.h"
#include "mojo/public/cpp/bindings/pending_associated_remote.h"
#include "third_party/blink/public/mojom/indexeddb/indexeddb.mojom-shared.h"

IndexedDBDatabaseMetadata;
IndexedDBKey;
swap;

namespace content {

IndexedDBFactoryClient::IndexedDBFactoryClient(
    mojo::PendingAssociatedRemote<blink::mojom::IDBFactoryClient>
        pending_client)
    :{}

IndexedDBFactoryClient::~IndexedDBFactoryClient() {}

void IndexedDBFactoryClient::OnError(const IndexedDBDatabaseError& error) {}

void IndexedDBFactoryClient::OnBlocked(int64_t existing_version) {}

void IndexedDBFactoryClient::OnUpgradeNeeded(
    int64_t old_version,
    std::unique_ptr<IndexedDBConnection> connection,
    const IndexedDBDatabaseMetadata& metadata,
    const IndexedDBDataLossInfo& data_loss_info) {}

void IndexedDBFactoryClient::OnOpenSuccess(
    std::unique_ptr<IndexedDBConnection> connection,
    const IndexedDBDatabaseMetadata& metadata) {}

void IndexedDBFactoryClient::OnDeleteSuccess(int64_t old_version) {}

void IndexedDBFactoryClient::OnConnectionError() {}

}  // namespace content