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

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

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: Fix formatting 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_INDEXED_DB_PENDING_CONNECTION_H_
6 #define CONTENT_BROWSER_INDEXED_DB_PENDING_CONNECTION_H_
7
8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h"
10 #include "content/browser/indexed_db/indexed_db_callbacks.h"
11 #include "content/browser/indexed_db/indexed_db_database_callbacks.h"
12
13 namespace content {
14
15 struct IndexedDBPendingConnection {
16 IndexedDBPendingConnection(
17 scoped_refptr<IndexedDBCallbacks> callbacks_in,
18 scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks_in,
19 int child_process_id_in,
20 int64 transaction_id_in,
21 int64 version_in)
22 : callbacks(callbacks_in),
23 database_callbacks(database_callbacks_in),
24 child_process_id(child_process_id_in),
25 transaction_id(transaction_id_in),
26 version(version_in) {}
27 scoped_refptr<IndexedDBCallbacks> callbacks;
28 scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks;
29 int child_process_id;
30 int64 transaction_id;
31 int64 version;
32 };
33
34 } // namespace content
35
36 #endif // CONTENT_BROWSER_INDEXED_DB_PENDING_CONNECTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698