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

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

Issue 2633663003: Implements strict secure cookies as the default behavior in //net (Closed)
Patch Set: Rebase on ToT Created 3 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
Index: chrome/browser/chromeos/login/profile_auth_data.cc
diff --git a/chrome/browser/chromeos/login/profile_auth_data.cc b/chrome/browser/chromeos/login/profile_auth_data.cc
index 400d6f86638781e26077a8a63908366e9c71ab3e..08968f56f6f7f6423d20d69d69abe44855404965 100644
--- a/chrome/browser/chromeos/login/profile_auth_data.cc
+++ b/chrome/browser/chromeos/login/profile_auth_data.cc
@@ -62,11 +62,7 @@ void ImportCookies(const net::CookieList& cookies,
url, cookie.Name(), cookie.Value(), effective_domain, cookie.Path(),
cookie.CreationDate(), cookie.ExpiryDate(), cookie.LastAccessDate(),
cookie.IsSecure(), cookie.IsHttpOnly(), cookie.SameSite(),
- // enforce_strict_secure should have been applied on the original
- // cookie, prior to import. This allows URL to be treated as an HTTPS
- // URL, whether the cookie was set by an HTTP or HTTPS domain (Something
- // that can't be determined by just looking at the CanonicalCookie).
- false, cookie.Priority(), net::CookieStore::SetCookiesCallback());
+ cookie.Priority(), net::CookieStore::SetCookiesCallback());
}
}

Powered by Google App Engine
This is Rietveld 408576698