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

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

Issue 2577563002: Add struct traits for base::Value. (Closed)
Patch Set: rebase 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 | « mojo/common/values_struct_traits.cc ('k') | services/preferences/public/cpp/pref_observer_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/preferences/public/cpp/pref_observer_store.h
diff --git a/services/preferences/public/cpp/pref_observer_store.h b/services/preferences/public/cpp/pref_observer_store.h
index c8af343ba06f23d3ab45883e0aaca068fa9ede55..ea474600b4b41de7d3fea5ba259dc3384a24794a 100644
--- a/services/preferences/public/cpp/pref_observer_store.h
+++ b/services/preferences/public/cpp/pref_observer_store.h
@@ -61,7 +61,8 @@ class PrefObserverStore : public ValueMapPrefStore,
base::Value const & value);
// prefs::mojom::PreferenceObserver:
- void OnPreferencesChanged(const base::DictionaryValue& preferences) override;
+ void OnPreferencesChanged(
+ std::unique_ptr<base::DictionaryValue> preferences) override;
mojo::Binding<prefs::mojom::PreferencesObserver> prefs_binding_;
prefs::mojom::PreferencesManagerPtr prefs_manager_ptr_;
« no previous file with comments | « mojo/common/values_struct_traits.cc ('k') | services/preferences/public/cpp/pref_observer_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698