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

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

Issue 2511403003: Send IndexedDB observations through IDBDatabaseCallbacks. (Closed)
Patch Set: Remove unnecessary forward declaration. 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_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 5a12bdf4a571efa10d28d7867720b97514c0f916..23298cdebf379efd7f47b3e601fa351e88651d4c 100644
--- a/content/browser/indexed_db/indexed_db_database_callbacks.h
+++ b/content/browser/indexed_db/indexed_db_database_callbacks.h
@@ -17,14 +17,12 @@
namespace content {
class IndexedDBDatabaseError;
class IndexedDBDispatcherHost;
-class IndexedDBObserverChanges;
class CONTENT_EXPORT IndexedDBDatabaseCallbacks
: public base::RefCounted<IndexedDBDatabaseCallbacks> {
public:
IndexedDBDatabaseCallbacks(
scoped_refptr<IndexedDBDispatcherHost> dispatcher_host,
- int32_t ipc_thread_id,
::indexed_db::mojom::DatabaseCallbacksAssociatedPtrInfo callbacks_info);
virtual void OnForcedClose();
@@ -34,7 +32,7 @@ class CONTENT_EXPORT IndexedDBDatabaseCallbacks
const IndexedDBDatabaseError& error);
virtual void OnComplete(int64_t host_transaction_id);
virtual void OnDatabaseChange(
- std::unique_ptr<IndexedDBObserverChanges> changes);
+ ::indexed_db::mojom::ObserverChangesPtr changes);
protected:
virtual ~IndexedDBDatabaseCallbacks();
@@ -45,7 +43,6 @@ class CONTENT_EXPORT IndexedDBDatabaseCallbacks
class IOThreadHelper;
scoped_refptr<IndexedDBDispatcherHost> dispatcher_host_;
- int32_t ipc_thread_id_;
std::unique_ptr<IOThreadHelper, BrowserThread::DeleteOnIOThread> io_helper_;
base::ThreadChecker thread_checker_;
« no previous file with comments | « content/browser/indexed_db/indexed_db_database.cc ('k') | content/browser/indexed_db/indexed_db_database_callbacks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698