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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h

Issue 2290193003: Include the Origin header for XHR and Fetch API even if the request is same-origin
Patch Set: a Created 4 years, 3 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: third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h
diff --git a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h
index fcd9c6a34749fba2977393339cd98f32bee23273..838e885ebd6ce0c01e23bc6a924cd3a69c4b6e13 100644
--- a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h
+++ b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h
@@ -122,7 +122,7 @@ class CORE_EXPORT DocumentThreadableLoader final : public ThreadableLoader, priv
// after consulting ServiceWorker).
//
// |this| may be dead after calling this method in async mode.
- void dispatchInitialRequest(const ResourceRequest&);
+ void dispatchInitialRequest(ResourceRequest&);
// |this| may be dead after calling this method in async mode.
void makeCrossOriginAccessRequest(const ResourceRequest&);
// Loads m_fallbackRequestForServiceWorker.

Powered by Google App Engine
This is Rietveld 408576698