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

Unified Diff: content/common/leveldb_wrapper.mojom

Issue 2596603002: Make LevelDBObserver an associated interface to LevelDBWrapper. (Closed)
Patch Set: Created 4 years 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/browser/storage_partition_impl.cc ('k') | content/common/storage_partition_service.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/leveldb_wrapper.mojom
diff --git a/content/common/leveldb_wrapper.mojom b/content/common/leveldb_wrapper.mojom
index c929e771eda1c78a86c905a292bef417402dbf26..6295be0b9789a4075e1a7195e418557acb6022c6 100644
--- a/content/common/leveldb_wrapper.mojom
+++ b/content/common/leveldb_wrapper.mojom
@@ -30,6 +30,8 @@ struct KeyValue {
// A wrapper around leveldb that supports giving notifications when values
// change.
interface LevelDBWrapper {
+ AddObserver(associated LevelDBObserver observer);
+
// Sets the database entry for |key| to |value|. Returns OK on success.
Put(array<uint8> key, array<uint8> value, string source) => (bool success);
« no previous file with comments | « content/browser/storage_partition_impl.cc ('k') | content/common/storage_partition_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698