summaryrefslogtreecommitdiff
path: root/chromium/content/browser/frame_host/cookie_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/frame_host/cookie_utils.h')
-rw-r--r--chromium/content/browser/frame_host/cookie_utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/content/browser/frame_host/cookie_utils.h b/chromium/content/browser/frame_host/cookie_utils.h
index f578cf59c22..564dd1179f6 100644
--- a/chromium/content/browser/frame_host/cookie_utils.h
+++ b/chromium/content/browser/frame_host/cookie_utils.h
@@ -12,6 +12,11 @@ namespace content {
class RenderFrameHostImpl;
struct CookieAccessDetails;
+// Sorts cookies into allowed (cookies that were included for the access
+// attempt) and blocked (cookies that were excluded solely because they were
+// blocked by the user's preferences). Cookies that are excluded independently
+// of the user's cookie blocking settings are not included in either of the
+// outputs.
void SplitCookiesIntoAllowedAndBlocked(
const network::mojom::CookieAccessDetailsPtr& cookie_details,
CookieAccessDetails* allowed,