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

Unified Diff: webkit/child/weburlrequest_extradata_impl.h

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 | « webkit/child/weburlloader_impl.cc ('k') | webkit/child/weburlrequest_extradata_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/child/weburlrequest_extradata_impl.h
diff --git a/webkit/child/weburlrequest_extradata_impl.h b/webkit/child/weburlrequest_extradata_impl.h
index 003249abb9ba179668fdfe62cf1cc001710c36e2..797a2328f8ec08b38ba7b7e0a093781e193f1ff6 100644
--- a/webkit/child/weburlrequest_extradata_impl.h
+++ b/webkit/child/weburlrequest_extradata_impl.h
@@ -6,7 +6,6 @@
#define WEBKIT_CHILD_WEBURLREQUEST_EXTRADATA_IMPL_H_
#include "base/compiler_specific.h"
-#include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
#include "third_party/WebKit/public/platform/WebString.h"
#include "third_party/WebKit/public/platform/WebURLRequest.h"
#include "webkit/child/webkit_child_export.h"
@@ -24,19 +23,16 @@ class WEBKIT_CHILD_EXPORT WebURLRequestExtraDataImpl :
// agent. This needs to be here, instead of content's |RequestExtraData| since
// ppb_url_request_info_impl.cc needs to be able to set it.
explicit WebURLRequestExtraDataImpl(
- blink::WebReferrerPolicy referrer_policy,
const blink::WebString& custom_user_agent,
bool was_after_preconnect_request);
virtual ~WebURLRequestExtraDataImpl();
- blink::WebReferrerPolicy referrer_policy() const { return referrer_policy_; }
const blink::WebString& custom_user_agent() const {
return custom_user_agent_;
}
bool was_after_preconnect_request() { return was_after_preconnect_request_; }
private:
- blink::WebReferrerPolicy referrer_policy_;
blink::WebString custom_user_agent_;
bool was_after_preconnect_request_;
« no previous file with comments | « webkit/child/weburlloader_impl.cc ('k') | webkit/child/weburlrequest_extradata_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698