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

Unified 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 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/ppb_url_request_info_impl.cc » ('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 392d78400a754b3de42d4815d70d0bca527f2507..64418cfa4ca9e1c161c6588e1c745697a7c6bc5c 100644
--- a/webkit/glue/weburlrequest_extradata_impl.cc
+++ b/webkit/glue/weburlrequest_extradata_impl.cc
@@ -5,12 +5,15 @@
#include "webkit/glue/weburlrequest_extradata_impl.h"
using WebKit::WebReferrerPolicy;
+using WebKit::WebString;
namespace webkit_glue {
WebURLRequestExtraDataImpl::WebURLRequestExtraDataImpl(
- WebReferrerPolicy referrer_policy)
- : referrer_policy_(referrer_policy) {
+ WebReferrerPolicy referrer_policy,
+ const WebString& custom_user_agent)
+ : referrer_policy_(referrer_policy),
+ custom_user_agent_(custom_user_agent) {
}
WebURLRequestExtraDataImpl::~WebURLRequestExtraDataImpl() {
« 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