Index: content/browser/storage_partition_impl.h |
diff --git a/content/browser/storage_partition_impl.h b/content/browser/storage_partition_impl.h |
index 45c02f5e584e62084480980f11fa6b6c1f75e7a7..c32b93c0c4b993ad7edf3c1992815a81f79e8f26 100644 |
--- a/content/browser/storage_partition_impl.h |
+++ b/content/browser/storage_partition_impl.h |
@@ -88,6 +88,14 @@ class StoragePartitionImpl : public StoragePartition, |
const base::Time end, |
const base::Closure& callback) override; |
+ void ClearData(uint32_t remove_mask, |
+ uint32_t quota_storage_remove_mask, |
+ const OriginMatcherFunction& origin_matcher, |
+ const CookieMatcherFunction& cookie_matcher, |
+ const base::Time begin, |
+ const base::Time end, |
+ const base::Closure& callback) override; |
+ |
void Flush() override; |
WebRTCIdentityStore* GetWebRTCIdentityStore(); |
@@ -130,6 +138,7 @@ class StoragePartitionImpl : public StoragePartition, |
RemoveQuotaManagedIgnoreDevTools); |
FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, RemoveCookieForever); |
FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, RemoveCookieLastHour); |
+ FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, RemoveCookieWithMatcher); |
FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, |
RemoveUnprotectedLocalStorageForever); |
FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, |
@@ -166,10 +175,12 @@ class StoragePartitionImpl : public StoragePartition, |
PlatformNotificationContextImpl* platform_notification_context, |
BackgroundSyncContextImpl* background_sync_context); |
+ // We will never have both remove_origin be populated and a cookie_matcher. |
void ClearDataImpl(uint32_t remove_mask, |
uint32_t quota_storage_remove_mask, |
const GURL& remove_origin, |
const OriginMatcherFunction& origin_matcher, |
+ const CookieMatcherFunction& cookie_matcher, |
net::URLRequestContextGetter* rq_context, |
const base::Time begin, |
const base::Time end, |