OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Brought to you by number 42. | 5 // Brought to you by number 42. |
6 | 6 |
7 #include "net/cookies/cookie_options.h" | 7 #include "net/cookies/cookie_options.h" |
8 | 8 |
9 namespace net { | 9 namespace net { |
10 | 10 |
| 11 // Keep default values in sync with content/common/cookie.mojom. |
11 CookieOptions::CookieOptions() | 12 CookieOptions::CookieOptions() |
12 : exclude_httponly_(true), | 13 : exclude_httponly_(true), |
13 same_site_cookie_mode_(SameSiteCookieMode::DO_NOT_INCLUDE), | 14 same_site_cookie_mode_(SameSiteCookieMode::DO_NOT_INCLUDE), |
14 update_access_time_(true), | 15 update_access_time_(true), |
15 server_time_() {} | 16 server_time_() {} |
16 | 17 |
17 } // namespace net | 18 } // namespace net |
OLD | NEW |