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

Unified Diff: third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h

Issue 2125213002: [IndexedDB] Propogating changes to observers : Renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lifetime
Patch Set: Propogating Changes to Renderer 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: third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
diff --git a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
index 0f9321270f3112e145da3b937d1e758061476d72..2f06a3d0bd51cfa4d1c5277f8736115054e1c6c5 100644
--- a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
+++ b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
@@ -7,11 +7,17 @@
#ifndef WebIDBObserver_h
#define WebIDBObserver_h
+#include <vector>
+
namespace blink {
+struct WebIDBObservation;
+
class WebIDBObserver {
public:
virtual ~WebIDBObserver() {}
+
+ virtual void onChange(const std::vector<WebIDBObservation>&, std::vector<int32_t> observationIndex) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698