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

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

Issue 2601983002: [IndexedDB] Adding transaction and value support to observers (Closed)
Patch Set: added comments and bug link Created 3 years, 11 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/Source/modules/indexeddb/WebIDBDatabaseCallbacksImpl.cpp ('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/WebIDBDatabaseCallbacks.h
diff --git a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseCallbacks.h b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseCallbacks.h
index 26a12748f37f84ac9a720b37f2a2215a410702e6..8d245b88cdfba847b6c5939ad1b3283252347a2f 100644
--- a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseCallbacks.h
+++ b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseCallbacks.h
@@ -31,6 +31,8 @@
#include "public/platform/modules/indexeddb/WebIDBDatabaseError.h"
#include <unordered_map>
+#include <utility>
+#include <vector>
namespace blink {
@@ -48,7 +50,10 @@ class WebIDBDatabaseCallbacks {
virtual void onChanges(
const std::unordered_map<int32_t, std::vector<int32_t>>&
observation_index_map,
- const WebVector<WebIDBObservation>& observations) = 0;
+ const WebVector<WebIDBObservation>& observations,
+ const std::unordered_map<int32_t,
+ std::pair<int64_t, std::vector<int64_t>>>&
+ transactions) = 0;
virtual void detach() = 0;
};
« no previous file with comments | « third_party/WebKit/Source/modules/indexeddb/WebIDBDatabaseCallbacksImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698