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

Unified Diff: chrome/browser/profiles/profile_impl_io_data.h

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/profile_impl_io_data.h
diff --git a/chrome/browser/profiles/profile_impl_io_data.h b/chrome/browser/profiles/profile_impl_io_data.h
index e037540937c6f1edb25f098108793125fbafbdca..62d4c92b14082f274e81e731b9273f54ce4c8228 100644
--- a/chrome/browser/profiles/profile_impl_io_data.h
+++ b/chrome/browser/profiles/profile_impl_io_data.h
@@ -95,6 +95,13 @@ class ProfileImplIOData : public ProfileIOData {
void ClearNetworkingHistorySince(base::Time time,
const base::Closure& completion);
+ // Clears part or all of the state of the Domain Reliability Monitor. If
+ // |clear_contexts| is true, clears the (site-provided) contexts, which are
+ // cookie-esque; if it is false, clears only the (logged) beacons within
+ // them, which are history-esque.
+ void ClearDomainReliabilityMonitor(bool clear_contexts,
Mike West 2014/04/25 07:17:31 Nit: Can you change this to an enum? Magical bools
Deprecated (see juliatuttle) 2014/05/01 21:53:25 Done. (That was a *pain*.)
+ const base::Closure& completion);
+
private:
typedef std::map<StoragePartitionDescriptor,
scoped_refptr<ChromeURLRequestContextGetter>,
@@ -196,6 +203,10 @@ class ProfileImplIOData : public ProfileIOData {
void ClearNetworkingHistorySinceOnIOThread(base::Time time,
const base::Closure& completion);
+ void ClearDomainReliabilityMonitorOnIOThread(
+ bool clear_contexts,
+ const base::Closure& completion);
+
// Lazy initialization params.
mutable scoped_ptr<LazyParams> lazy_params_;

Powered by Google App Engine
This is Rietveld 408576698