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

Side by Side Diff: webkit/glue/weburlrequest_extradata_impl.cc

Issue 10780019: PPAPI (Flash): Properly honor Pepper url requests with custom user agents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: got rid of unneeded WebKit:: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 9
9 namespace webkit_glue { 10 namespace webkit_glue {
10 11
11 WebURLRequestExtraDataImpl::WebURLRequestExtraDataImpl( 12 WebURLRequestExtraDataImpl::WebURLRequestExtraDataImpl(
12 WebReferrerPolicy referrer_policy) 13 WebReferrerPolicy referrer_policy,
13 : referrer_policy_(referrer_policy) { 14 const WebString& custom_user_agent)
15 : referrer_policy_(referrer_policy),
16 custom_user_agent_(custom_user_agent) {
14 } 17 }
15 18
16 WebURLRequestExtraDataImpl::~WebURLRequestExtraDataImpl() { 19 WebURLRequestExtraDataImpl::~WebURLRequestExtraDataImpl() {
17 } 20 }
18 21
19 } // namespace webkit_glue 22 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/weburlrequest_extradata_impl.h ('k') | webkit/plugins/ppapi/ppb_url_request_info_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698