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

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

Issue 1857383002: Refactor net predictor to use ResourceThrottles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: chrome/browser/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index 15166f29307b0a3896d8c16fcbc5b141ef853ea8..4dac71a3a397eed2980ce3cd146dd79a8d173420 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -244,6 +244,10 @@ class ProfileIOData {
return data_reduction_proxy_io_data_.get();
}
+ // Returns the predictor service for this Profile. This is only implemented in
+ // non-OffTheRecord Profiles.
+ virtual chrome_browser_net::Predictor* predictor();
mmenke 2016/04/07 22:12:49 As a virtual method, this should be named GetPredi
Charlie Harrison 2016/05/23 14:16:20 Done.
+
protected:
// A URLRequestContext for media that owns its HTTP factory, to ensure
// it is deleted.

Powered by Google App Engine
This is Rietveld 408576698