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

Unified Diff: components/prefs/json_pref_store.h

Issue 2204943002: Integrate registry_hash_store_contents with the rest of tracked prefs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove a lost include statement Created 4 years, 4 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: components/prefs/json_pref_store.h
diff --git a/components/prefs/json_pref_store.h b/components/prefs/json_pref_store.h
index 047fe74abcd88857597e7ac0d398274820de5b7d..c376584eb8c2cfd773767285d2d887400fed537b 100644
--- a/components/prefs/json_pref_store.h
+++ b/components/prefs/json_pref_store.h
@@ -106,10 +106,15 @@ class COMPONENTS_PREFS_EXPORT JsonPrefStore
// cleanup that shouldn't otherwise alert observers.
void RemoveValueSilently(const std::string& key, uint32_t flags);
- // Registers |on_next_successful_write| to be called once, on the next
+ // Registers |on_next_successful_write_reply| to be called once, on the next
// successful write event of |writer_|.
- void RegisterOnNextSuccessfulWriteCallback(
- const base::Closure& on_next_successful_write);
+ void RegisterOnNextSuccessfulWriteReply(
+ const base::Closure& on_next_successful_write_reply);
+
+ // Registers |on_next_successful_write| to be synchronously invoked on the
+ // next successful write event of |writer|.
gab 2016/08/08 04:37:45 Description and var names are no longer up-to-date
proberge 2016/08/31 17:30:16 Done.
+ void RegisterOnNextWriteSynchronousCallback(
+ const base::Callback<void(bool success)>& on_next_write_callback);
void ClearMutableValues() override;

Powered by Google App Engine
This is Rietveld 408576698