| 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..e4197e49ee02ece9fb9f0b3d79a8dfc951cd0fc5 100644
|
| --- a/chrome/browser/profiles/profile_impl_io_data.h
|
| +++ b/chrome/browser/profiles/profile_impl_io_data.h
|
| @@ -11,6 +11,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
|
| #include "chrome/browser/profiles/profile_io_data.h"
|
| +#include "components/domain_reliability/clear_mode.h"
|
| #include "content/public/browser/cookie_store_factory.h"
|
|
|
| namespace chrome_browser_net {
|
| @@ -95,6 +96,14 @@ 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(
|
| + domain_reliability::DomainReliabilityClearMode mode,
|
| + const base::Closure& completion);
|
| +
|
| private:
|
| typedef std::map<StoragePartitionDescriptor,
|
| scoped_refptr<ChromeURLRequestContextGetter>,
|
| @@ -196,6 +205,10 @@ class ProfileImplIOData : public ProfileIOData {
|
| void ClearNetworkingHistorySinceOnIOThread(base::Time time,
|
| const base::Closure& completion);
|
|
|
| + void ClearDomainReliabilityMonitorOnIOThread(
|
| + domain_reliability::DomainReliabilityClearMode mode,
|
| + const base::Closure& completion);
|
| +
|
| // Lazy initialization params.
|
| mutable scoped_ptr<LazyParams> lazy_params_;
|
|
|
|
|