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

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

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 side-by-side diff with in-line comments
Download patch
Index: content/browser/indexed_db/indexed_db_pending_connection.h
diff --git a/content/browser/indexed_db/indexed_db_pending_connection.h b/content/browser/indexed_db/indexed_db_pending_connection.h
index 6458a7e7535ea75975cdf4e887995fdb82f852c8..067d61b2c636302cca21d9cf5291b1cb2ca48d5c 100644
--- a/content/browser/indexed_db/indexed_db_pending_connection.h
+++ b/content/browser/indexed_db/indexed_db_pending_connection.h
@@ -12,6 +12,7 @@
#include "content/browser/indexed_db/indexed_db_data_loss_info.h"
#include "content/browser/indexed_db/indexed_db_database_callbacks.h"
#include "content/common/content_export.h"
+#include "url/origin.h"
namespace content {
@@ -20,16 +21,18 @@ class IndexedDBDatabaseCallbacks;
struct CONTENT_EXPORT IndexedDBPendingConnection {
IndexedDBPendingConnection(
- scoped_refptr<IndexedDBCallbacks> callbacks_in,
- scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks_in,
- int child_process_id_in,
- int64_t transaction_id_in,
- int64_t version_in);
+ scoped_refptr<IndexedDBCallbacks> callbacks,
+ scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks,
+ int child_process_id,
+ url::Origin origin,
+ int64_t transaction_id,
+ int64_t version);
IndexedDBPendingConnection(const IndexedDBPendingConnection& other);
~IndexedDBPendingConnection();
scoped_refptr<IndexedDBCallbacks> callbacks;
scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks;
int child_process_id;
+ url::Origin origin;
int64_t transaction_id;
int64_t version;
IndexedDBDataLossInfo data_loss_info;

Powered by Google App Engine
This is Rietveld 408576698