1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29

content / browser / indexed_db / instance / pending_connection.cc [blame]

// Copyright 2014 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/instance/pending_connection.h"

#include <utility>

#include "content/browser/indexed_db/instance/database_callbacks.h"
#include "content/browser/indexed_db/instance/factory_client.h"

namespace content::indexed_db {

PendingConnection::PendingConnection(
    std::unique_ptr<FactoryClient> factory_client,
    std::unique_ptr<DatabaseCallbacks> database_callbacks,
    int64_t transaction_id,
    int64_t version,
    mojo::PendingAssociatedReceiver<blink::mojom::IDBTransaction>
        pending_mojo_receiver)
    : factory_client(std::move(factory_client)),
      database_callbacks(std::move(database_callbacks)),
      transaction_id(transaction_id),
      version(version),
      pending_mojo_receiver(std::move(pending_mojo_receiver)) {}

PendingConnection::~PendingConnection() {}

}  // namespace content::indexed_db