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

Unified Diff: webkit/glue/weburlrequest_extradata_impl.cc

Issue 10886047: Pepper: Add a X-Requested-With header to URL requests done for Pepper plugins. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: foo Created 8 years 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
« no previous file with comments | « webkit/glue/weburlrequest_extradata_impl.h ('k') | webkit/plugins/ppapi/plugin_module.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/weburlrequest_extradata_impl.cc
diff --git a/webkit/glue/weburlrequest_extradata_impl.cc b/webkit/glue/weburlrequest_extradata_impl.cc
index d9e7462c48e7c8eaf05713a8266d6d68a4ca9600..d6f611552c90e2312ab33af93f45a51568140ffe 100644
--- a/webkit/glue/weburlrequest_extradata_impl.cc
+++ b/webkit/glue/weburlrequest_extradata_impl.cc
@@ -11,9 +11,11 @@ namespace webkit_glue {
WebURLRequestExtraDataImpl::WebURLRequestExtraDataImpl(
WebReferrerPolicy referrer_policy,
- const WebString& custom_user_agent)
+ const WebString& custom_user_agent,
+ const WebString& requested_with)
: referrer_policy_(referrer_policy),
- custom_user_agent_(custom_user_agent) {
+ custom_user_agent_(custom_user_agent),
+ requested_with_(requested_with) {
}
WebURLRequestExtraDataImpl::~WebURLRequestExtraDataImpl() {
« no previous file with comments | « webkit/glue/weburlrequest_extradata_impl.h ('k') | webkit/plugins/ppapi/plugin_module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698