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

Unified Diff: chrome/common/resource_dispatcher_unittest.cc

Issue 405011: Use an explicit boolean has_new_first_party_for_cookies instead... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Upload before checkin Created 11 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
« no previous file with comments | « chrome/common/resource_dispatcher.cc ('k') | chrome/common/security_filter_peer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/resource_dispatcher_unittest.cc
===================================================================
--- chrome/common/resource_dispatcher_unittest.cc (revision 32257)
+++ chrome/common/resource_dispatcher_unittest.cc (working copy)
@@ -35,8 +35,9 @@
virtual bool OnReceivedRedirect(
const GURL& new_url,
const ResourceLoaderBridge::ResponseInfo& info,
+ bool* has_new_first_party_for_cookies,
GURL* new_first_party_for_cookies) {
- *new_first_party_for_cookies = GURL();
+ *has_new_first_party_for_cookies = false;
return true;
}
@@ -246,8 +247,9 @@
virtual bool OnReceivedRedirect(
const GURL& new_url,
const ResourceLoaderBridge::ResponseInfo& info,
+ bool* has_new_first_party_for_cookies,
GURL* new_first_party_for_cookies) {
- *new_first_party_for_cookies = GURL();
+ *has_new_first_party_for_cookies = false;
return true;
}
« no previous file with comments | « chrome/common/resource_dispatcher.cc ('k') | chrome/common/security_filter_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698