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

Unified Diff: content/browser/indexed_db/indexed_db_pending_connection.cc

Issue 198223002: Added IndexedDBPendingConnection to group up a bunch of parameters that get (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing file. Created 6 years, 9 months 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/indexed_db/indexed_db_pending_connection.cc
diff --git a/content/browser/indexed_db/indexed_db_pending_connection.cc b/content/browser/indexed_db/indexed_db_pending_connection.cc
new file mode 100644
index 0000000000000000000000000000000000000000..2236c8560c56b456d6e0f42e35db1af3f63736a6
--- /dev/null
+++ b/content/browser/indexed_db/indexed_db_pending_connection.cc
@@ -0,0 +1,24 @@
+// 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 "content/browser/indexed_db/indexed_db_callbacks.h"
+#include "content/browser/indexed_db/indexed_db_database_callbacks.h"
+
+namespace content {
+
+IndexedDBPendingConnection::IndexedDBPendingConnection(
+ scoped_refptr<IndexedDBCallbacks> callbacks_in,
+ scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks_in,
+ int child_process_id_in,
+ int64 transaction_id_in,
+ int64 version_in)
+ : callbacks(callbacks_in),
+ database_callbacks(database_callbacks_in),
+ child_process_id(child_process_id_in),
jsbell 2014/03/12 23:40:49 Dunno if it's worth it, but maybe DCHECK that chil
ericu 2014/03/12 23:56:37 I'm not sure a 0-check really buys us anything. Th
+ transaction_id(transaction_id_in),
+ version(version_in) {}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698