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

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

Issue 7688006: Revert 97465 - Revert 97446 - Modifying prefetch to account for multi-profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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/connect_interceptor.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
===================================================================
--- chrome/browser/net/net_pref_observer.h (revision 97465)
+++ 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);
};
« no previous file with comments | « chrome/browser/net/connect_interceptor.cc ('k') | chrome/browser/net/net_pref_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698