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

Side by Side Diff: webkit/child/weburlrequest_extradata_impl.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, 10 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
« no previous file with comments | « webkit/child/weburlrequest_extradata_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/child/weburlrequest_extradata_impl.h" 5 #include "webkit/child/weburlrequest_extradata_impl.h"
6 6
7 using blink::WebReferrerPolicy;
8 using blink::WebString; 7 using blink::WebString;
9 8
10 namespace webkit_glue { 9 namespace webkit_glue {
11 10
12 WebURLRequestExtraDataImpl::WebURLRequestExtraDataImpl( 11 WebURLRequestExtraDataImpl::WebURLRequestExtraDataImpl(
13 WebReferrerPolicy referrer_policy,
14 const WebString& custom_user_agent, 12 const WebString& custom_user_agent,
15 bool was_after_preconnect_request) 13 bool was_after_preconnect_request)
16 : referrer_policy_(referrer_policy), 14 : custom_user_agent_(custom_user_agent),
17 custom_user_agent_(custom_user_agent),
18 was_after_preconnect_request_(was_after_preconnect_request) { 15 was_after_preconnect_request_(was_after_preconnect_request) {
19 } 16 }
20 17
21 WebURLRequestExtraDataImpl::~WebURLRequestExtraDataImpl() { 18 WebURLRequestExtraDataImpl::~WebURLRequestExtraDataImpl() {
22 } 19 }
23 20
24 } // namespace webkit_glue 21 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/child/weburlrequest_extradata_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698