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

Unified Diff: content/child/resource_dispatcher_unittest.cc

Issue 736743003: Use content::Referrer to pass around referrers in the plugin code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
Index: content/child/resource_dispatcher_unittest.cc
diff --git a/content/child/resource_dispatcher_unittest.cc b/content/child/resource_dispatcher_unittest.cc
index 434433eced7ee9df020765273c48dfebf6386976..f0201c8a3e61466d382fa9fde4e7f769aeb547de 100644
--- a/content/child/resource_dispatcher_unittest.cc
+++ b/content/child/resource_dispatcher_unittest.cc
@@ -322,7 +322,7 @@ class ResourceDispatcherTest : public testing::Test, public IPC::Sender {
request_info.method = "GET";
request_info.url = GURL(kTestPageUrl);
request_info.first_party_for_cookies = GURL(kTestPageUrl);
- request_info.referrer = GURL();
+ request_info.referrer = Referrer();
request_info.headers = std::string();
request_info.load_flags = 0;
request_info.requestor_pid = 0;

Powered by Google App Engine
This is Rietveld 408576698