Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 63eab1b5640d4241d6d69afacbdde8714495f23d..5682d8010a0588496b779705e2523c74ca890dd4 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -483,6 +483,12 @@ TestingPrefService* TestingProfile::GetTestingPrefService() { |
return testing_prefs_; |
} |
+void TestingProfile::CreateSkeletonIODataForTesting() { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ io_data_.reset(new ProfileImplIOData::Handle(this)); |
+ io_data_->InitForTesting(); |
+} |
+ |
TestingProfile* TestingProfile::AsTestingProfile() { |
return this; |
} |
@@ -784,8 +790,11 @@ chrome_browser_net::Predictor* TestingProfile::GetNetworkPredictor() { |
return NULL; |
} |
-void TestingProfile::ClearNetworkingHistorySince(base::Time time) { |
- NOTIMPLEMENTED(); |
+void TestingProfile::ClearNetworkingHistorySince( |
+ base::Time time, |
+ const base::Closure& completion) { |
+ DCHECK(io_data_.get()); |
+ io_data_->ClearNetworkingHistorySince(time, completion); |
} |
GURL TestingProfile::GetHomePage() { |