Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Unified Diff: content/browser/frame_host/navigation_request.cc

Issue 2716583003: Rename Origin.unique() to opaque().
Patch Set: Update new uses post-rebase Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/navigation_request.cc
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc
index c4101840ecaf24dae6747998f78ee994e6082a8c..57e216d12d922dd2f002aa548cfecae8b6d8d453 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -167,7 +167,7 @@ void AddAdditionalRequestHeaders(net::HttpRequestHeaders* headers,
if (!NeedsHTTPOrigin(headers, method))
return;
- // Create a unique origin.
+ // Create a unique opaque origin.
url::Origin origin;
if (frame_tree_node->IsMainFrame()) {
// For main frame, the origin is the url currently loading.
@@ -176,7 +176,7 @@ void AddAdditionalRequestHeaders(net::HttpRequestHeaders* headers,
blink::WebSandboxFlags::kOrigin) ==
blink::WebSandboxFlags::kNone) {
// The origin should be the origin of the root, except for sandboxed
- // frames which have a unique origin.
+ // frames which have a unique opaque origin.
origin = frame_tree_node->frame_tree()->root()->current_origin();
}
« no previous file with comments | « content/browser/frame_host/frame_tree_browsertest.cc ('k') | content/browser/frame_host/navigator_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698