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

Unified Diff: content/browser/indexed_db/indexed_db_dispatcher_host.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_dispatcher_host.h
diff --git a/content/browser/indexed_db/indexed_db_dispatcher_host.h b/content/browser/indexed_db/indexed_db_dispatcher_host.h
index 435030b1908d3d555ef5f0100bbbf1ecd2b60f53..87011e969923530dfc93e08ccaf95c4789f08422 100644
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.h
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.h
@@ -23,10 +23,6 @@
#include "storage/browser/blob/blob_data_handle.h"
#include "url/gurl.h"
-struct IndexedDBHostMsg_DatabaseObserve_Params;
-struct IndexedDBMsg_Observation;
-struct IndexedDBMsg_ObserverChanges;
-
namespace url {
class Origin;
}
@@ -37,8 +33,6 @@ class IndexedDBCallbacks;
class IndexedDBConnection;
class IndexedDBContextImpl;
class IndexedDBDatabaseCallbacks;
-class IndexedDBObservation;
-class IndexedDBObserverChanges;
// Handles all IndexedDB related messages from a particular renderer process.
class IndexedDBDispatcherHost
@@ -52,11 +46,6 @@ class IndexedDBDispatcherHost
IndexedDBContextImpl* indexed_db_context,
ChromeBlobStorageContext* blob_storage_context);
- static IndexedDBMsg_ObserverChanges ConvertObserverChanges(
- std::unique_ptr<IndexedDBObserverChanges> changes);
- static IndexedDBMsg_Observation ConvertObservation(
- const IndexedDBObservation* observation);
-
// BrowserMessageFilter implementation.
void OnChannelClosing() override;
void OnDestruct() const override;
@@ -110,8 +99,7 @@ class IndexedDBDispatcherHost
void GetDatabaseNames(
::indexed_db::mojom::CallbacksAssociatedPtrInfo callbacks_info,
const url::Origin& origin) override;
- void Open(int32_t worker_thread,
- ::indexed_db::mojom::CallbacksAssociatedPtrInfo callbacks_info,
+ void Open(::indexed_db::mojom::CallbacksAssociatedPtrInfo callbacks_info,
::indexed_db::mojom::DatabaseCallbacksAssociatedPtrInfo
database_callbacks_info,
const url::Origin& origin,
« no previous file with comments | « content/browser/indexed_db/indexed_db_database_callbacks.cc ('k') | content/browser/indexed_db/indexed_db_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698