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

Unified Diff: chrome/browser/profiles/profile_impl.h

Issue 266553002: Add TrackedPreferenceValidationDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r272759 Created 6 years, 7 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: chrome/browser/profiles/profile_impl.h
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
index f002f3fbac99099929c53c50d602a96e13c88d2d..647b59f21a19f1dd6af47f8b8458f7264e74c4f5 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -26,6 +26,7 @@ class PrefService;
class PrefServiceSyncable;
class ShortcutsBackend;
class SSLConfigServiceManager;
+class TrackedPreferenceValidationDelegate;
#if defined(OS_CHROMEOS)
namespace chromeos {
@@ -242,6 +243,9 @@ class ProfileImpl : public Profile {
#endif
scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_;
+ // Keep |pref_validation_delegate_| above |prefs_| so that the former outlives
+ // the latter.
+ scoped_ptr<TrackedPreferenceValidationDelegate> pref_validation_delegate_;
Mattias Nissler (ping if slow) 2014/05/26 07:01:15 nit: blank line
grt (UTC plus 2) 2014/05/26 13:28:16 Done.
// Keep |prefs_| on top for destruction order because |extension_prefs_|,
// |net_pref_observer_|, |io_data_| and others store pointers to |prefs_| and
// shall be destructed first.

Powered by Google App Engine
This is Rietveld 408576698