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

Unified Diff: chrome/browser/profiles/off_the_record_profile_impl.cc

Issue 238863005: Domain Reliability: Remove browsing data when requested. (Closed) Base URL: http://git.chromium.org/chromium/src.git@domrel_bakedin
Patch Set: Add unittest 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
Index: chrome/browser/profiles/off_the_record_profile_impl.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
index 0e131796bb3d8763522b39466b21a992cb3a3d66..5a554ab443c27ef63ec2f79711e6660af5222511 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -513,6 +513,16 @@ void OffTheRecordProfileImpl::ClearNetworkingHistorySince(
}
}
+void OffTheRecordProfileImpl::ClearDomainReliabilityMonitor(
+ domain_reliability::DomainReliabilityClearMode mode,
+ const base::Closure& completion) {
+ // Incognito profiles don't have Domain Reliability Monitors, so there's
+ // nothing to do here.
+ if (!completion.is_null()) {
+ BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, completion);
+ }
+}
+
GURL OffTheRecordProfileImpl::GetHomePage() {
return profile_->GetHomePage();
}

Powered by Google App Engine
This is Rietveld 408576698