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

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

Issue 362533002: Make CanPredictNetworkActionsIO take io_data instead of resource_context. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address msg2. Created 6 years, 6 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 | « no previous file | chrome/browser/net/prediction_options.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/prediction_options.h
diff --git a/chrome/browser/net/prediction_options.h b/chrome/browser/net/prediction_options.h
index fd895cf94101ffa6cd9c09c79ed6c39b2a509478..d7114c8778324525305fa31ca0ed8792949e791e 100644
--- a/chrome/browser/net/prediction_options.h
+++ b/chrome/browser/net/prediction_options.h
@@ -9,11 +9,8 @@ namespace user_prefs {
class PrefRegistrySyncable;
}
-namespace content {
-class ResourceContext;
-}
-
class PrefService;
+class ProfileIOData;
namespace chrome_browser_net {
@@ -37,7 +34,7 @@ void RegisterPredictionOptionsProfilePrefs(
// actions are enabled, based on preferences and network type.
// To be executed on the IO thread only.
-bool CanPredictNetworkActionsIO(content::ResourceContext* resource_context);
+bool CanPredictNetworkActionsIO(ProfileIOData* profile_io_data);
// To be executed on the UI thread only.
bool CanPredictNetworkActionsUI(PrefService* prefs);
« no previous file with comments | « no previous file | chrome/browser/net/prediction_options.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698