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

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

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some (incomplete) work on struct traits. Created 4 years, 5 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_database_callbacks.h
diff --git a/content/browser/indexed_db/indexed_db_database_callbacks.h b/content/browser/indexed_db/indexed_db_database_callbacks.h
index 5c8892e5f9b1342cccb7ff3590b13a47cf9e979e..277c1884a5c6efd89d8cccbb70a615d8f045159d 100644
--- a/content/browser/indexed_db/indexed_db_database_callbacks.h
+++ b/content/browser/indexed_db/indexed_db_database_callbacks.h
@@ -10,17 +10,16 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "content/common/content_export.h"
+#include "third_party/WebKit/public/platform/modules/indexeddb/indexed_db.mojom.h"
namespace content {
class IndexedDBDatabaseError;
-class IndexedDBDispatcherHost;
class CONTENT_EXPORT IndexedDBDatabaseCallbacks
: public base::RefCounted<IndexedDBDatabaseCallbacks> {
public:
- IndexedDBDatabaseCallbacks(IndexedDBDispatcherHost* dispatcher_host,
- int ipc_thread_id,
- int ipc_database_callbacks_id);
+ IndexedDBDatabaseCallbacks(
+ ::indexed_db::mojom::DatabaseObserverPtr database_observer);
virtual void OnForcedClose();
virtual void OnVersionChange(int64_t old_version, int64_t new_version);
@@ -35,9 +34,7 @@ class CONTENT_EXPORT IndexedDBDatabaseCallbacks
private:
friend class base::RefCounted<IndexedDBDatabaseCallbacks>;
- scoped_refptr<IndexedDBDispatcherHost> dispatcher_host_;
- int ipc_thread_id_;
- int ipc_database_callbacks_id_;
+ ::indexed_db::mojom::DatabaseObserverPtr database_observer_;
DISALLOW_COPY_AND_ASSIGN(IndexedDBDatabaseCallbacks);
};

Powered by Google App Engine
This is Rietveld 408576698