Index: chrome/browser/browser_about_handler.cc |
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc |
index 340c604622f2fb9d9faa7e4e7090ec67f53e935b..c4158c2a79001ac62b9f9b49ba8fcc1f54048d36 100644 |
--- a/chrome/browser/browser_about_handler.cc |
+++ b/chrome/browser/browser_about_handler.cc |
@@ -30,7 +30,7 @@ |
#include "chrome/browser/defaults.h" |
#include "chrome/browser/memory_details.h" |
#include "chrome/browser/metrics/histogram_synchronizer.h" |
-#include "chrome/browser/net/predictor.h" |
+#include "chrome/browser/net/predictor_api.h" |
#include "chrome/browser/net/url_fixer_upper.h" |
#include "chrome/browser/plugin_prefs.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -703,20 +703,18 @@ class AboutDnsHandler : public base::RefCountedThreadSafe<AboutDnsHandler> { |
// Calls FinishOnUIThread() on completion. |
void StartOnUIThread() { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
- chrome_browser_net::Predictor* predictor = |
- source_->profile()->GetNetworkPredictor(); |
BrowserThread::PostTask( |
BrowserThread::IO, FROM_HERE, |
- NewRunnableMethod(this, &AboutDnsHandler::StartOnIOThread, predictor)); |
+ NewRunnableMethod(this, &AboutDnsHandler::StartOnIOThread)); |
} |
- void StartOnIOThread(chrome_browser_net::Predictor* predictor) { |
+ void StartOnIOThread() { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
std::string data; |
AppendHeader(&data, 0, "About DNS"); |
AppendBody(&data); |
- chrome_browser_net::Predictor::PredictorGetHtmlInfo(predictor, &data); |
+ chrome_browser_net::PredictorGetHtmlInfo(&data); |
AppendFooter(&data); |
BrowserThread::PostTask( |