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_; |