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

Unified Diff: content/browser/leveldb_wrapper_impl.h

Issue 2593503005: Don't abuse LevelDBObserver interface to pass GetAll result. (Closed)
Patch Set: modify sanity_check test to give async callbacks a chance to cause problems 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 | « no previous file | content/browser/leveldb_wrapper_impl.cc » ('j') | content/browser/leveldb_wrapper_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/leveldb_wrapper_impl.h
diff --git a/content/browser/leveldb_wrapper_impl.h b/content/browser/leveldb_wrapper_impl.h
index 663d5d85c7fab7bd4149cc2e90bcd83fb18da994..2ccf642598cf2ede4d7e03d16fa2b75d71dfc525 100644
--- a/content/browser/leveldb_wrapper_impl.h
+++ b/content/browser/leveldb_wrapper_impl.h
@@ -103,8 +103,9 @@ class CONTENT_EXPORT LevelDBWrapperImpl : public mojom::LevelDBWrapper {
const DeleteAllCallback& callback) override;
void Get(const std::vector<uint8_t>& key,
const GetCallback& callback) override;
- void GetAll(const std::string& source,
- const GetAllCallback& callback) override;
+ void GetAll(
+ mojom::LevelDBWrapperGetAllCallbackAssociatedPtrInfo complete_callback,
+ const GetAllCallback& callback) override;
void OnConnectionError();
void LoadMap(const base::Closure& completion_callback);
« no previous file with comments | « no previous file | content/browser/leveldb_wrapper_impl.cc » ('j') | content/browser/leveldb_wrapper_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698