Chromium Code Reviews| 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..ca4efc7ad927bcc1ebb632ac4ff36ec90fe6de82 100644 |
| --- a/chrome/test/base/testing_profile.cc |
| +++ b/chrome/test/base/testing_profile.cc |
| @@ -784,8 +784,12 @@ 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) { |
| + if (!completion.is_null()) { |
| + BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, completion); |
|
mmenke
2012/10/25 20:15:52
IMPORTANT: The completion should be run on the UI
engedy
2012/10/25 21:47:43
Duh! Thanks for spotting that.
|
| + } |
| } |
| GURL TestingProfile::GetHomePage() { |