commit | eed81170d85c060645370c1e11221817da547ccc | [log] [tgz] |
---|---|---|
author | Chris Fredrickson <[email protected]> | Fri Jan 12 18:31:00 2024 |
committer | Chromium LUCI CQ <[email protected]> | Fri Jan 12 18:31:00 2024 |
tree | 99957fb36d532e337a9ee81f871368fefadd74c4 | |
parent | 366eabc267c8d5a9bbf48128095290d138aad661 [diff] [blame] |
[RWS] Add browsertest coverage for user gesture w/ rSAFor Change-Id: I5e7e771f1d098285f94722eef2ff9a21d80d9a4b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5193423 Commit-Queue: Chris Fredrickson <[email protected]> Reviewed-by: Maks Orlovich <[email protected]> Reviewed-by: Matt Reichhoff <[email protected]> Auto-Submit: Chris Fredrickson <[email protected]> Cr-Commit-Position: refs/heads/main@{#1246553}
diff --git a/chrome/browser/net/storage_test_utils.h b/chrome/browser/net/storage_test_utils.h index 968fdc5..ddf07a2 100644 --- a/chrome/browser/net/storage_test_utils.h +++ b/chrome/browser/net/storage_test_utils.h
@@ -51,7 +51,8 @@ // document.requestStorageAccessFor(origin). Returns true if the promise // resolves; false if it rejects. bool RequestStorageAccessForOrigin(content::RenderFrameHost* frame, - const std::string& origin); + const std::string& origin, + bool omit_user_gesture = false); // Helper to see if a frame currently has storage access using // document.hasStorageAccess(). Returns true if the promise resolves with a // value of true; false otherwise.