Index: content/browser/storage_partition_impl.h |
diff --git a/content/browser/storage_partition_impl.h b/content/browser/storage_partition_impl.h |
index b80105b1e9b534fdc9a481114f48292c22d4450a..6f78c45f612ee28f9a11034954e3cb9f52137b49 100644 |
--- a/content/browser/storage_partition_impl.h |
+++ b/content/browser/storage_partition_impl.h |
@@ -26,6 +26,7 @@ |
#include "content/common/storage_partition_service.mojom.h" |
#include "content/public/browser/storage_partition.h" |
#include "mojo/public/cpp/bindings/binding_set.h" |
+#include "net/cookies/cookie_store.h" |
#include "storage/browser/quota/special_storage_policy.h" |
namespace content { |
@@ -39,6 +40,12 @@ class StoragePartitionImpl : public StoragePartition, |
// StoragePartition uses. This method generates that mask. |
CONTENT_EXPORT static int GenerateQuotaClientMask(uint32_t remove_mask); |
+ // This creates a CookiePredicate that matches all host (NOT domain) cookies |
+ // that match the host of |url|. This is intended to be used with |
+ // DeleteAllCreatedBetweenWithPredicateAsync. |
+ CONTENT_EXPORT static net::CookieStore::CookiePredicate |
+ CreatePredicateForHostCookies(const GURL& url); |
+ |
CONTENT_EXPORT void OverrideQuotaManagerForTesting( |
storage::QuotaManager* quota_manager); |
CONTENT_EXPORT void OverrideSpecialStoragePolicyForTesting( |