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

Unified Diff: chrome/browser/chromeos/login/profile_auth_data_unittest.cc

Issue 876973003: Implement the "first-party-only" cookie flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: FirstPartyOnly. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/profile_auth_data_unittest.cc
diff --git a/chrome/browser/chromeos/login/profile_auth_data_unittest.cc b/chrome/browser/chromeos/login/profile_auth_data_unittest.cc
index 6d7d88a29df6f0be3b50b4424f15a43dd76924e9..bf6bc33ce360ee8774f235c5a1d247e962cc2218 100644
--- a/chrome/browser/chromeos/login/profile_auth_data_unittest.cc
+++ b/chrome/browser/chromeos/login/profile_auth_data_unittest.cc
@@ -223,28 +223,14 @@ void ProfileAuthDataTest::PopulateBrowserContext(
run_loop_->Run();
net::CookieList cookie_list;
- cookie_list.push_back(net::CanonicalCookie(GURL(kGAIACookieURL),
- kCookieName,
- cookie_value,
- kGAIACookieDomain,
- std::string(),
- base::Time(),
- base::Time(),
- base::Time(),
- true,
- false,
- net::COOKIE_PRIORITY_DEFAULT));
- cookie_list.push_back(net::CanonicalCookie(GURL(kSAMLIdPCookieURL),
- kCookieName,
- cookie_value,
- kSAMLIdPCookieDomain,
- std::string(),
- base::Time(),
- base::Time(),
- base::Time(),
- true,
- false,
- net::COOKIE_PRIORITY_DEFAULT));
+ cookie_list.push_back(net::CanonicalCookie(
+ GURL(kGAIACookieURL), kCookieName, cookie_value, kGAIACookieDomain,
+ std::string(), base::Time(), base::Time(), base::Time(), true, false,
+ false, net::COOKIE_PRIORITY_DEFAULT));
+ cookie_list.push_back(net::CanonicalCookie(
+ GURL(kSAMLIdPCookieURL), kCookieName, cookie_value, kSAMLIdPCookieDomain,
+ std::string(), base::Time(), base::Time(), base::Time(), true, false,
+ false, net::COOKIE_PRIORITY_DEFAULT));
cookies->ImportCookies(cookie_list);
GetChannelIDs(browser_context)->SetChannelID(kChannelIDServerIdentifier,
« no previous file with comments | « chrome/browser/android/cookies/cookies_fetcher.cc ('k') | chrome/browser/extensions/api/cookies/cookies_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698