Chromium Code Reviews| 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; |