blob: cc1c53b4a651f96e963d06976f6ca9498844f8b9 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// 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_pending_connection.h"
#include <utility>
namespace content {
IndexedDBPendingConnection::IndexedDBPendingConnection(
scoped_refptr<IndexedDBCallbacks> callbacks,
scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks,
const IndexedDBExecutionContext& execution_context,
int64_t transaction_id,
int64_t version,
base::OnceCallback<void(base::WeakPtr<IndexedDBTransaction>)>
create_transaction_callback)
: callbacks(callbacks),
database_callbacks(database_callbacks),
execution_context(execution_context),
transaction_id(transaction_id),
version(version),
create_transaction_callback(std::move(create_transaction_callback)) {}
IndexedDBPendingConnection::~IndexedDBPendingConnection() {}
} // namespace content