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

Unified Diff: services/preferences/public/cpp/pref_store_client_mixin.h

Issue 2812863002: Pref service: Add a ScopedDictionaryPrefUpdate to track value changes. (Closed)
Patch Set: rebase Created 3 years, 8 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: services/preferences/public/cpp/pref_store_client_mixin.h
diff --git a/services/preferences/public/cpp/pref_store_client_mixin.h b/services/preferences/public/cpp/pref_store_client_mixin.h
index 19cf250c586ff1dfbe42c43cc300f21e52c1af00..68286ec4bffb1623deadcb24276ebbc15fb42486 100644
--- a/services/preferences/public/cpp/pref_store_client_mixin.h
+++ b/services/preferences/public/cpp/pref_store_client_mixin.h
@@ -7,6 +7,7 @@
#include <memory>
#include <string>
+#include <vector>
#include "base/macros.h"
#include "base/observer_list.h"
@@ -58,7 +59,7 @@ class PrefStoreClientMixin : public BasePrefStore,
void OnInitializationCompleted(bool succeeded) override;
void OnPrefChanged(const std::string& key,
- std::unique_ptr<base::Value> value);
+ mojom::PrefUpdateValuePtr update_value);
// Cached preferences.
// If null, indicates that initialization failed.

Powered by Google App Engine
This is Rietveld 408576698