/external/cronet/net/cookies/ |
D | canonical_cookie_unittest.cc | 163 absl::optional<base::Time> server_time = absl::nullopt; in TEST() local 167 "A C=2", creation_time, server_time, in TEST() 174 server_time, in TEST() 182 server_time, absl::nullopt /* cookie_partition_key */, &status); in TEST() 188 server_time, absl::nullopt /* cookie_partition_key */, &status); in TEST() 202 too_long_value, creation_time, server_time, in TEST() 216 absl::optional<base::Time> server_time = absl::nullopt; in TEST() local 219 CanonicalCookie::Create(url, "A=2", creation_time, server_time, in TEST() 230 cookie = CanonicalCookie::Create(url2, "B=1", creation_time, server_time, in TEST() 243 CanonicalCookie::Create(url, "A=2; Secure", creation_time, server_time, in TEST() [all …]
|
D | canonical_cookie.cc | 425 const Time& server_time) { in ParseExpiration() argument 459 base::TimeDelta clock_skew = (current - server_time); in ParseExpiration() 463 Time adjusted_expiry = parsed_expiry + (current - server_time); in ParseExpiration() 532 absl::optional<base::Time> server_time, in Create() argument 584 if (server_time.has_value() && !server_time->is_null()) in Create() 585 cookie_server_time = server_time.value(); in Create()
|
D | cookie_store_unittest.h | 221 absl::optional<base::Time> server_time = absl::nullopt, 231 server_time, cookie_partition_key); 276 const base::Time& server_time) { in SetCookieWithServerTime() argument 283 absl::make_optional(server_time)); in SetCookieWithServerTime() 1323 absl::optional<base::Time> server_time = in TYPED_TEST_P() local 1325 this->CreateAndSetCookie(cs, url, set_cookie_line, options, server_time); in TYPED_TEST_P() 1329 server_time = base::Time::Now() + base::Hours(1); in TYPED_TEST_P() 1330 this->CreateAndSetCookie(cs, url, set_cookie_line, options, server_time); in TYPED_TEST_P() 1436 base::Time server_time; in TYPED_TEST_P() local 1438 base::Time::FromString("Sun, 17-Apr-1977 22:50:13 GMT", &server_time)); in TYPED_TEST_P() [all …]
|
D | canonical_cookie.h | 128 absl::optional<base::Time> server_time, 396 const base::Time& server_time);
|
D | cookie_monster_unittest.cc | 1817 absl::optional<base::Time> server_time = absl::nullopt; in TEST_F() local 1823 CanonicalCookie::Create(http_url, "y=1", now, server_time, in TEST_F() 1834 CanonicalCookie::Create(foo_url, "y=1", now, server_time, in TEST_F() 1845 CanonicalCookie::Create(foo_url, "y=1", now, server_time, in TEST_F() 1856 CanonicalCookie::Create(http_url, "y=1", now, server_time, in TEST_F() 1877 absl::optional<base::Time> server_time = absl::nullopt; in TEST_F() local 1882 CanonicalCookie::Create(foo_url, "y=1", now, server_time, in TEST_F() 4681 absl::optional<base::Time> server_time = absl::nullopt; in TEST_F() local 4687 CanonicalCookie::Create(url, cookie_line, t1, server_time, partition_key); in TEST_F() 4695 CanonicalCookie::Create(url, cookie_line, t2, server_time, partition_key); in TEST_F() [all …]
|
/external/cronet/net/url_request/ |
D | url_request_http_job.cc | 850 absl::optional<base::Time> server_time = absl::nullopt; in SaveCookiesAndNotifyHeadersComplete() local 852 server_time = absl::make_optional(response_date); in SaveCookiesAndNotifyHeadersComplete() 899 request_->url(), cookie_string, base::Time::Now(), server_time, in SaveCookiesAndNotifyHeadersComplete()
|