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

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

Issue 2062203004: IDBObserver: Lifetime Management: Adding Observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Post dmurph review Created 4 years, 6 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_class_factory.h
diff --git a/content/browser/indexed_db/indexed_db_class_factory.h b/content/browser/indexed_db/indexed_db_class_factory.h
index 2f85210326215e084ad7eac2edf5f33bf8b92ef6..420e97dc32717262cfad2fc9b617d2f81785c381 100644
--- a/content/browser/indexed_db/indexed_db_class_factory.h
+++ b/content/browser/indexed_db/indexed_db_class_factory.h
@@ -12,6 +12,7 @@
#include "base/lazy_instance.h"
#include "content/browser/indexed_db/indexed_db_backing_store.h"
cmumford 2016/06/28 20:26:22 No need to include indexed_db_connection.h. Just f
palakj1 2016/06/29 23:02:40 Done.
+#include "content/browser/indexed_db/indexed_db_connection.h"
#include "content/browser/indexed_db/indexed_db_database.h"
#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h"
@@ -48,6 +49,7 @@ class CONTENT_EXPORT IndexedDBClassFactory {
virtual IndexedDBTransaction* CreateIndexedDBTransaction(
int64_t id,
+ base::WeakPtr<IndexedDBConnection> connection,
scoped_refptr<IndexedDBDatabaseCallbacks> callbacks,
const std::set<int64_t>& scope,
blink::WebIDBTransactionMode mode,

Powered by Google App Engine
This is Rietveld 408576698