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: |