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

Unified Diff: content/common/request_extra_data.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 | « content/common/request_extra_data.h ('k') | content/common/resource_dispatcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/request_extra_data.cc
diff --git a/content/common/request_extra_data.cc b/content/common/request_extra_data.cc
index 2bbe2c86e187557d3c0a4ecad9023cdb9ac2ea37..5a2f098e5e312c04298f5247f16e8a71ed2c29e2 100644
--- a/content/common/request_extra_data.cc
+++ b/content/common/request_extra_data.cc
@@ -5,8 +5,10 @@
#include "content/common/request_extra_data.h"
using WebKit::WebReferrerPolicy;
+using WebKit::WebString;
RequestExtraData::RequestExtraData(WebReferrerPolicy referrer_policy,
+ const WebString& custom_user_agent,
bool is_main_frame,
int64 frame_id,
bool parent_is_main_frame,
@@ -15,7 +17,8 @@ RequestExtraData::RequestExtraData(WebReferrerPolicy referrer_policy,
content::PageTransition transition_type,
int transferred_request_child_id,
int transferred_request_request_id)
- : webkit_glue::WebURLRequestExtraDataImpl(referrer_policy),
+ : webkit_glue::WebURLRequestExtraDataImpl(referrer_policy,
+ custom_user_agent),
is_main_frame_(is_main_frame),
frame_id_(frame_id),
parent_is_main_frame_(parent_is_main_frame),
« no previous file with comments | « content/common/request_extra_data.h ('k') | content/common/resource_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698