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

Unified Diff: chrome/test/base/testing_profile.cc

Issue 238863005: Domain Reliability: Remove browsing data when requested. (Closed) Base URL: http://git.chromium.org/chromium/src.git@domrel_bakedin
Patch Set: ...and fix BrowsingDataRemoverTet Created 6 years, 7 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
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | components/domain_reliability.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_profile.cc
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index e9eda9dd9ef8780051907cd0dc68796f932848b6..2f890133cd85fd18d1cb26efccdf580b581e1611 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -894,6 +894,14 @@ void TestingProfile::ClearNetworkingHistorySince(
}
}
+void TestingProfile::ClearDomainReliabilityMonitor(
+ domain_reliability::DomainReliabilityClearMode mode,
+ const base::Closure& completion) {
+ if (!completion.is_null()) {
+ BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, completion);
+ }
+}
+
GURL TestingProfile::GetHomePage() {
return GURL(chrome::kChromeUINewTabURL);
}
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | components/domain_reliability.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698