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

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: rebase Created 6 years, 8 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 13c48bee09a9333785f068b16eca6347a7276ccf..621717f412a2ab93be85f6c22d065cd3468b3df0 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -507,6 +507,16 @@ void OffTheRecordProfileImpl::ClearNetworkingHistorySince(
}
}
+void OffTheRecordProfileImpl::ClearDomainReliabilityMonitor(
+ bool clear_contexts,
+ 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