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

Unified Diff: content/common/request_extra_data.cc

Issue 10795071: Merge 147060 to 1180 (M21) - PPAPI (Flash): Properly honor Pepper url requests with custom user age… (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: 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
===================================================================
--- content/common/request_extra_data.cc (revision 147918)
+++ content/common/request_extra_data.cc (working copy)
@@ -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 @@
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