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

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

Issue 7467012: Modifying prefetch to account for multi-profile. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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.h
===================================================================
--- chrome/browser/profiles/profile.h (revision 89645)
+++ chrome/browser/profiles/profile.h (working copy)
@@ -49,6 +49,10 @@
class DatabaseTracker;
}
+namespace chrome_browser_net {
+class Predictor;
+}
+
class AutocompleteClassifier;
class BookmarkModel;
class BrowserSignin;
@@ -562,6 +566,17 @@
// Creates an OffTheRecordProfile which points to this Profile.
Profile* CreateOffTheRecordProfile();
+ virtual chrome_browser_net::Predictor* GetPredictor() {
willchan no longer on Chromium 2011/07/21 12:10:53 Please call this NetworkPredictor(). Predictor is
rpetterson 2011/08/10 02:24:46 Done.
+ return NULL;
+ }
+
+ virtual void SetPredictor(chrome_browser_net::Predictor* predictor) {}
willchan no longer on Chromium 2011/07/21 12:10:53 This shouldn't be needed either.
rpetterson 2011/08/10 02:24:46 Done.
+
+ // When displaying info in about:dns, the following API is called.
+ void PredictorGetHtmlInfo(std::string* output);
+
+ void PredictorOnTheRecord(bool enable);
willchan no longer on Chromium 2011/07/21 12:10:53 As noted elsewhere, you shouldn't need this.
rpetterson 2011/08/10 02:24:46 Done.
+
protected:
friend class OffTheRecordProfileImpl;

Powered by Google App Engine
This is Rietveld 408576698