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

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: Minor typecasting 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
« no previous file with comments | « third_party/WebKit/public/platform/modules/indexeddb/WebIDBObservation.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f74c73024a73f3659aa7acc856ffae34faea4b95 100644
--- a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
+++ b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
@@ -7,11 +7,23 @@
#ifndef WebIDBObserver_h
#define WebIDBObserver_h
+#include "public/platform/WebVector.h"
+#include "public/platform/modules/indexeddb/WebIDBTypes.h"
+#include <bitset>
+
namespace blink {
+struct WebIDBObservation;
+
class WebIDBObserver {
public:
virtual ~WebIDBObserver() {}
+
+ virtual bool transaction() const = 0;
+ virtual bool noRecords() const = 0;
+ virtual bool values() const = 0;
+ virtual const std::bitset<WebIDBOperationTypeCount>& operationTypes() const = 0;
+ virtual void onChange(const WebVector<WebIDBObservation>&, const WebVector<int32_t>& observationIndex) = 0;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/public/platform/modules/indexeddb/WebIDBObservation.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698