Home
last modified time | relevance | path

Searched refs:server_time (Results 1 – 6 of 6) sorted by relevance

/external/cronet/net/cookies/
Dcanonical_cookie_unittest.cc163 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 …]
Dcanonical_cookie.cc425 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()
Dcookie_store_unittest.h221 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 …]
Dcanonical_cookie.h128 absl::optional<base::Time> server_time,
396 const base::Time& server_time);
Dcookie_monster_unittest.cc1817 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/
Durl_request_http_job.cc850 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()