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

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: Rebased and added important_file_writer CL as dependent patchset Created 4 years, 3 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 6fa5d8ac2fb3c5405cf162584451d2cf1815f9e9..d14e3ce11f87d922142c86314fa5b0bf757bb842 100644
--- a/components/prefs/json_pref_store.h
+++ b/components/prefs/json_pref_store.h
@@ -111,6 +111,11 @@ class COMPONENTS_PREFS_EXPORT JsonPrefStore
void RegisterOnNextSuccessfulWriteReply(
const base::Closure& on_next_successful_write_reply);
+ // Registers |on_next_write_callback| to be synchronously invoked on the
+ // next write event of |writer|.
+ void RegisterOnNextWriteSynchronousCallback(
+ const base::Callback<void(bool success)>& on_next_write_callback);
+
void ClearMutableValues() override;
private:

Powered by Google App Engine
This is Rietveld 408576698