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

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

Issue 2125213002: [IndexedDB] Propogating changes to observers : Renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lifetime
Patch Set: Post dmurph review 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_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 524c68eeb8029c3fb94755b1598a6ed85219f9dc..352fc79c3481287c199a9d708232ef9aa0091127 100644
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.h
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.h
@@ -38,6 +38,8 @@ struct IndexedDBHostMsg_DatabaseSetIndexKeys_Params;
struct IndexedDBHostMsg_FactoryDeleteDatabase_Params;
struct IndexedDBHostMsg_FactoryGetDatabaseNames_Params;
struct IndexedDBHostMsg_FactoryOpen_Params;
+struct IndexedDBObservation;
+struct IndexedDBObserverChanges;
namespace url {
class Origin;
@@ -51,6 +53,8 @@ class IndexedDBCursor;
class IndexedDBKey;
class IndexedDBKeyPath;
class IndexedDBKeyRange;
+class IndexedDBObservation;
+class IndexedDBObserverChanges;
struct IndexedDBDatabaseMetadata;
// Handles all IndexedDB related messages from a particular renderer process.
@@ -68,6 +72,10 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
static ::IndexedDBDatabaseMetadata ConvertMetadata(
const content::IndexedDBDatabaseMetadata& metadata);
+ static ::IndexedDBObserverChanges ConvertObserverChanges(
+ std::unique_ptr<content::IndexedDBObserverChanges> changes);
+ static ::IndexedDBObservation ConvertObservation(
+ std::unique_ptr<content::IndexedDBObservation> observation);
// BrowserMessageFilter implementation.
void OnChannelConnected(int32_t peer_pid) override;

Powered by Google App Engine
This is Rietveld 408576698