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

Unified Diff: net/cookies/cookie_options.h

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
« no previous file with comments | « net/cookies/cookie_monster_unittest.cc ('k') | net/cookies/cookie_options.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cookies/cookie_options.h
diff --git a/net/cookies/cookie_options.h b/net/cookies/cookie_options.h
index d1c6afc63711f445632a0b01df47f049e9f510b8..53a4d0f0c0e2a560caf863ae40a77bea1996d24a 100644
--- a/net/cookies/cookie_options.h
+++ b/net/cookies/cookie_options.h
@@ -50,11 +50,6 @@ class NET_EXPORT CookieOptions {
return same_site_cookie_mode_;
}
- // TODO(jww): Remove once we decide whether to ship modifying 'secure' cookies
- // only from secure schemes. https://crbug.com/546820
- void set_enforce_strict_secure() { enforce_strict_secure_ = true; }
- bool enforce_strict_secure() const { return enforce_strict_secure_; }
-
// |server_time| indicates what the server sending us the Cookie thought the
// current time was when the cookie was produced. This is used to adjust for
// clock skew between server and host.
@@ -70,7 +65,6 @@ class NET_EXPORT CookieOptions {
private:
bool exclude_httponly_;
SameSiteCookieMode same_site_cookie_mode_;
- bool enforce_strict_secure_;
bool update_access_time_;
base::Time server_time_;
};
« no previous file with comments | « net/cookies/cookie_monster_unittest.cc ('k') | net/cookies/cookie_options.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698