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

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 bugs fixed 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..d2727ee24f305bcc16636cd3b4869dbb1be647de 100644
--- a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
+++ b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
@@ -7,11 +7,20 @@
#ifndef WebIDBObserver_h
#define WebIDBObserver_h
+#include <vector>
+
namespace blink {
+struct WebIDBObservation;
+
class WebIDBObserver {
public:
virtual ~WebIDBObserver() {}
+
+ virtual bool transaction() = 0;
+ virtual bool noRecords() = 0;
+ virtual bool values() = 0;
+ virtual void onChange(const std::vector<WebIDBObservation>&, std::vector<int32_t> observationIndex) = 0;
jsbell 2016/07/14 20:08:14 These need to be WebVector
palakj1 2016/07/15 20:16:05 changed.
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698