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

Unified Diff: chrome/browser/net/net_pref_observer.h

Issue 14622003: components: Move PrefRegistrySyncable into user_prefs namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 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
« no previous file with comments | « chrome/browser/net/http_server_properties_manager.cc ('k') | chrome/browser/net/net_pref_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/net_pref_observer.h
diff --git a/chrome/browser/net/net_pref_observer.h b/chrome/browser/net/net_pref_observer.h
index 37a051adf6b7f92ab7e82e1690674ece3e8086f4..d8c9597ae0386fc3e879a46df4de8bda6c7f0dc9 100644
--- a/chrome/browser/net/net_pref_observer.h
+++ b/chrome/browser/net/net_pref_observer.h
@@ -8,6 +8,8 @@
#include "base/basictypes.h"
#include "base/prefs/pref_member.h"
+class PrefService;
+
namespace chrome_browser_net {
class Predictor;
}
@@ -16,8 +18,9 @@ namespace prerender {
class PrerenderManager;
}
-class PrefService;
+namespace user_prefs {
class PrefRegistrySyncable;
+}
// Monitors network-related preferences for changes and applies them.
// The supplied PrefService must outlive this NetPrefObserver.
@@ -32,7 +35,7 @@ class NetPrefObserver {
chrome_browser_net::Predictor* predictor);
virtual ~NetPrefObserver();
- static void RegisterUserPrefs(PrefRegistrySyncable* registry);
+ static void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry);
private:
void ApplySettings();
« no previous file with comments | « chrome/browser/net/http_server_properties_manager.cc ('k') | chrome/browser/net/net_pref_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698