Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(484)

Side by Side Diff: content/browser/indexed_db/indexed_db_pending_connection.cc

Issue 2472213003: [IndexedDB] Refactoring to remove ref ptrs and host transaction ids. (Closed)
Patch Set: comments & rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/indexed_db/indexed_db_pending_connection.h" 5 #include "content/browser/indexed_db/indexed_db_pending_connection.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 IndexedDBPendingConnection::IndexedDBPendingConnection( 9 IndexedDBPendingConnection::IndexedDBPendingConnection(
10 scoped_refptr<IndexedDBCallbacks> callbacks_in, 10 scoped_refptr<IndexedDBCallbacks> callbacks,
11 scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks_in, 11 scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks,
12 int child_process_id_in, 12 int child_process_id,
13 int64_t transaction_id_in, 13 url::Origin origin,
14 int64_t version_in) 14 int64_t transaction_id,
15 : callbacks(callbacks_in), 15 int64_t version)
16 database_callbacks(database_callbacks_in), 16 : callbacks(callbacks),
17 child_process_id(child_process_id_in), 17 database_callbacks(database_callbacks),
18 transaction_id(transaction_id_in), 18 child_process_id(child_process_id),
19 version(version_in) {} 19 origin(origin),
20 transaction_id(transaction_id),
21 version(version) {}
20 22
21 IndexedDBPendingConnection::IndexedDBPendingConnection( 23 IndexedDBPendingConnection::IndexedDBPendingConnection(
22 const IndexedDBPendingConnection& other) = default; 24 const IndexedDBPendingConnection& other) = default;
23 25
24 IndexedDBPendingConnection::~IndexedDBPendingConnection() {} 26 IndexedDBPendingConnection::~IndexedDBPendingConnection() {}
25 27
26 } // namespace content 28 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698