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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/weburlrequest_extradata_impl.h ('k') | webkit/plugins/ppapi/plugin_module.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/glue/weburlrequest_extradata_impl.h" 5 #include "webkit/glue/weburlrequest_extradata_impl.h"
6 6
7 using WebKit::WebReferrerPolicy; 7 using WebKit::WebReferrerPolicy;
8 using WebKit::WebString; 8 using WebKit::WebString;
9 9
10 namespace webkit_glue { 10 namespace webkit_glue {
11 11
12 WebURLRequestExtraDataImpl::WebURLRequestExtraDataImpl( 12 WebURLRequestExtraDataImpl::WebURLRequestExtraDataImpl(
13 WebReferrerPolicy referrer_policy, 13 WebReferrerPolicy referrer_policy,
14 const WebString& custom_user_agent) 14 const WebString& custom_user_agent,
15 const WebString& requested_with)
15 : referrer_policy_(referrer_policy), 16 : referrer_policy_(referrer_policy),
16 custom_user_agent_(custom_user_agent) { 17 custom_user_agent_(custom_user_agent),
18 requested_with_(requested_with) {
17 } 19 }
18 20
19 WebURLRequestExtraDataImpl::~WebURLRequestExtraDataImpl() { 21 WebURLRequestExtraDataImpl::~WebURLRequestExtraDataImpl() {
20 } 22 }
21 23
22 } // namespace webkit_glue 24 } // namespace webkit_glue
OLDNEW
« 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