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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.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/Source/modules/indexeddb/WebIDBObserverImpl.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.h b/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.h
index 97c53bb53cd009921f37bd19d5bbe2df43628c6d..e61acb20de32122b53dc92cb05dd664c24aea6ee 100644
--- a/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.h
+++ b/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.h
@@ -7,10 +7,12 @@
#include "platform/heap/Persistent.h"
#include "public/platform/modules/indexeddb/WebIDBObserver.h"
+#include <vector>
namespace blink {
class IDBObserver;
+struct WebIDBObservation;
class WebIDBObserverImpl final : public WebIDBObserver {
USING_FAST_MALLOC(WebIDBObserverImpl);
@@ -21,6 +23,7 @@ public:
~WebIDBObserverImpl() override;
void setId(int32_t);
+ void onChange(const std::vector<WebIDBObservation>&, std::vector<int32_t> observationIndex);
private:
enum { kInvalidObserverId = -1 };

Powered by Google App Engine
This is Rietveld 408576698