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

Unified Diff: content/child/indexed_db/webidbdatabase_impl.h

Issue 2511403003: Send IndexedDB observations through IDBDatabaseCallbacks. (Closed)
Patch Set: Remove unnecessary forward declaration. Created 4 years, 1 month 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 | « content/child/indexed_db/webidbcursor_impl.cc ('k') | content/child/indexed_db/webidbdatabase_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/indexed_db/webidbdatabase_impl.h
diff --git a/content/child/indexed_db/webidbdatabase_impl.h b/content/child/indexed_db/webidbdatabase_impl.h
index e13aeefc782fab22ae822a1e1d3ae545d0305ae6..402fcd5909428d72bd2d72e2ce8dfe204c9a7520 100644
--- a/content/child/indexed_db/webidbdatabase_impl.h
+++ b/content/child/indexed_db/webidbdatabase_impl.h
@@ -20,7 +20,6 @@
namespace blink {
class WebBlobInfo;
class WebIDBCallbacks;
-class WebIDBObserver;
class WebString;
}
@@ -51,8 +50,13 @@ class CONTENT_EXPORT WebIDBDatabaseImpl
void close() override;
void versionChangeIgnored() override;
- int32_t addObserver(std::unique_ptr<blink::WebIDBObserver>,
- long long transactionId) override;
+ void addObserver(long long transaction_id,
+ int32_t observer_id,
+ bool include_transaction,
+ bool no_records,
+ bool values,
+ const std::bitset<blink::WebIDBOperationTypeCount>&
+ operation_types) override;
void removeObservers(
const blink::WebVector<int32_t>& observer_ids_to_remove) override;
« no previous file with comments | « content/child/indexed_db/webidbcursor_impl.cc ('k') | content/child/indexed_db/webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698