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

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

Issue 7467012: Modifying prefetch to account for multi-profile. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Modifying prefetch to account for multi-profile. Created 9 years, 3 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/net/net_pref_observer.h
===================================================================
--- chrome/browser/net/net_pref_observer.h (revision 100345)
+++ chrome/browser/net/net_pref_observer.h (working copy)
@@ -14,6 +14,10 @@
class Profile;
+namespace chrome_browser_net {
+class Predictor;
+}
+
namespace prerender {
class PrerenderManager;
}
@@ -27,7 +31,8 @@
// |prerender_manager| may be NULL. If not, |*prerender_manager| must
// outlive this.
NetPrefObserver(PrefService* prefs,
- prerender::PrerenderManager* prerender_manager);
+ prerender::PrerenderManager* prerender_manager,
+ chrome_browser_net::Predictor* predictor);
virtual ~NetPrefObserver();
// NotificationObserver
@@ -45,6 +50,7 @@
BooleanPrefMember spdy_disabled_;
BooleanPrefMember http_throttling_enabled_;
prerender::PrerenderManager* prerender_manager_;
+ chrome_browser_net::Predictor* predictor_;
DISALLOW_COPY_AND_ASSIGN(NetPrefObserver);
};

Powered by Google App Engine
This is Rietveld 408576698