Integrates TPCD Metadata overrides with cookie settings
This CL:
- Exposes a new cookie setting method (MitigationsEnabledFor3pcd()) to
determine if mitigations should be enabled per current user prefs
and enabled/disabled feature flags.
- Integrates with the Network service.
- Extends the test coverage for the updater service.
Follow up CLs will Integrate MitigationsEnabledFor3pcdInternal() with the new 3PC Prefs and migrate all mitigations + test coverage.
Bug: b:290039145, 1488067
Change-Id: Ie8dcbb56831db0451b3757e033318b1ebe8de14a
Cq-Do-Not-Cancel-Tryjobs: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4875245
Reviewed-by: Maks Orlovich <[email protected]>
Reviewed-by: Anton Maliev <[email protected]>
Commit-Queue: Jonathan Njeunje <[email protected]>
Reviewed-by: Ken Buchanan <[email protected]>
Reviewed-by: Fiona Macintosh <[email protected]>
Reviewed-by: Christian Dullweber <[email protected]>
Auto-Submit: Jonathan Njeunje <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1204573}
diff --git a/chrome/browser/net/storage_test_utils.h b/chrome/browser/net/storage_test_utils.h
index b1ce948..968fdc5 100644
--- a/chrome/browser/net/storage_test_utils.h
+++ b/chrome/browser/net/storage_test_utils.h
@@ -24,6 +24,7 @@
// used on page like //chrome/test/data/browsing_data/site_data.html
void SetStorageForFrame(content::RenderFrameHost* frame,
bool include_cookies,
+ bool expected_to_be_set = true,
const base::Location& location = FROM_HERE);
void SetStorageForWorker(content::RenderFrameHost* frame,
const base::Location& location = FROM_HERE);