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

Unified Diff: content/child/request_extra_data.cc

Issue 135973009: Don't try to guess the referrer policy, but use the one associated with the request (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 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/child/request_extra_data.h ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/request_extra_data.cc
diff --git a/content/child/request_extra_data.cc b/content/child/request_extra_data.cc
index 751be711794d031a9af33b9b9d5242cc8f300ec4..54f4b9d2f897f3799e54056f15352bb2661c6751 100644
--- a/content/child/request_extra_data.cc
+++ b/content/child/request_extra_data.cc
@@ -4,13 +4,11 @@
#include "content/child/request_extra_data.h"
-using blink::WebReferrerPolicy;
using blink::WebString;
namespace content {
RequestExtraData::RequestExtraData(
- WebReferrerPolicy referrer_policy,
blink::WebPageVisibilityState visibility_state,
const WebString& custom_user_agent,
bool was_after_preconnect_request,
@@ -25,8 +23,7 @@ RequestExtraData::RequestExtraData(
bool should_replace_current_entry,
int transferred_request_child_id,
int transferred_request_request_id)
- : webkit_glue::WebURLRequestExtraDataImpl(referrer_policy,
- custom_user_agent,
+ : webkit_glue::WebURLRequestExtraDataImpl(custom_user_agent,
was_after_preconnect_request),
visibility_state_(visibility_state),
render_frame_id_(render_frame_id),
« no previous file with comments | « content/child/request_extra_data.h ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698