Home
last modified time | relevance | path

Searched refs:expiration_time (Results 1 – 25 of 108) sorted by relevance

12345

/external/chromium_org/chrome/browser/extensions/token_cache/
Dtoken_cache_service.cc29 Time expiration_time; in StoreToken() local
36 expiration_time = Time::Now(); in StoreToken()
37 expiration_time += time_to_live; in StoreToken()
41 token_data.expiration_time = expiration_time; in StoreToken()
55 if (it->second.expiration_time.is_null() || in RetrieveToken()
56 now < it->second.expiration_time) { in RetrieveToken()
/external/chromium_org/net/ssl/
Ddefault_channel_id_store_unittest.cc29 base::Time expiration_time, in GetChannelIDCallbackNotCalled() argument
41 base::Time expiration_time, in Callback() argument
46 expiration_time_ = expiration_time; in Callback()
162 base::Time expiration_time; in TEST() local
167 &expiration_time, in TEST()
180 &expiration_time, in TEST()
184 EXPECT_EQ(456, expiration_time.ToInternalValue()); in TEST()
193 base::Time expiration_time; in TEST() local
212 &expiration_time, in TEST()
216 EXPECT_EQ(4567, expiration_time.ToInternalValue()); in TEST()
[all …]
Ddefault_channel_id_store.cc64 base::Time expiration_time; in Run() local
68 server_identifier_, &expiration_time, &private_key_result, in Run()
73 expiration_time, private_key_result, cert_result)); in Run()
83 base::Time expiration_time,
100 base::Time expiration_time, in SetChannelIDTask() argument
105 expiration_time_(expiration_time), in SetChannelIDTask()
234 base::Time* expiration_time, in GetChannelID() argument
253 *expiration_time = channel_id->expiration_time(); in GetChannelID()
263 base::Time expiration_time, in SetChannelID() argument
267 server_identifier, creation_time, expiration_time, private_key, in SetChannelID()
[all …]
Dchannel_id_store.cc15 base::Time expiration_time, in ChannelID() argument
20 expiration_time_(expiration_time), in ChannelID()
30 i->expiration_time(), i->private_key(), i->cert()); in InitializeFrom()
Dchannel_id_store.h35 base::Time expiration_time, in NON_EXPORTED_BASE()
46 base::Time expiration_time() const { return expiration_time_; } in NON_EXPORTED_BASE()
82 base::Time* expiration_time, in NON_EXPORTED_BASE()
91 base::Time expiration_time, in NON_EXPORTED_BASE()
Ddefault_channel_id_store.h49 base::Time* expiration_time,
56 base::Time expiration_time,
111 base::Time expiration_time,
/external/chromium_org/net/cookies/
Dcanonical_cookie_unittest.cc185 base::Time expiration_time = creation_time + base::TimeDelta::FromDays(2); in TEST() local
192 cookie_path, creation_time, expiration_time, in TEST()
200 cookie_path, creation_time, expiration_time, in TEST()
209 expiration_time, last_access_time, in TEST()
218 expiration_time, last_access_time, in TEST()
225 creation_time, expiration_time, in TEST()
234 expiration_time, last_access_time, in TEST()
241 creation_time, expiration_time, in TEST()
250 creation_time, expiration_time, in TEST()
257 creation_time, expiration_time, in TEST()
/external/chromium_org/components/search_provider_logos/
Dlogo_tracker_unittest.cc94 logo.metadata.expiration_time = in GetSampleLogo()
108 logo.metadata.expiration_time = base::Time(); in GetSampleLogo2()
356 if (!logo.metadata.expiration_time.is_null()) in ServerResponse()
357 time_to_live = logo.metadata.expiration_time - test_clock_->Now(); in ServerResponse()
458 fresh_logo.metadata.expiration_time = in TEST_F()
471 EXPECT_EQ(logo_cache_->GetCachedLogoMetadata()->expiration_time, in TEST_F()
472 fresh_logo.metadata.expiration_time); in TEST_F()
524 logo.metadata.expiration_time = test_clock_->Now() + time_to_live; in TEST_F()
533 cached_metadata->expiration_time); in TEST_F()
547 cached_metadata->expiration_time); in TEST_F()
[all …]
Dlogo_cache_unittest.cc24 &metadata.expiration_time)); in GetExampleMetadata()
37 &metadata.expiration_time)); in GetExampleMetadata2()
74 EXPECT_EQ(expected_metadata.expiration_time, actual_metadata.expiration_time); in ExpectMetadataEqual()
Dlogo_tracker.cc35 if (metadata.expiration_time < distant_past || in IsLogoOkToShow()
36 metadata.expiration_time > distant_future) { in IsLogoOkToShow()
39 return metadata.can_show_after_expiration || metadata.expiration_time >= now; in IsLogoOkToShow()
203 cached_logo_->metadata.expiration_time >= clock_->Now()) { in FetchLogo()
Dlogo_common.h45 base::Time expiration_time; member
/external/chromium_org/google_apis/gaia/
Doauth2_access_token_fetcher.cc15 const base::Time& expiration_time) { in FireOnGetTokenSuccess() argument
16 consumer_->OnGetTokenSuccess(access_token, expiration_time); in FireOnGetTokenSuccess()
Doauth2_token_service_request.cc168 const base::Time& expiration_time) OVERRIDE;
183 base::Time expiration_time);
231 const base::Time& expiration_time) { in OnGetTokenSuccess() argument
239 expiration_time)); in OnGetTokenSuccess()
254 base::Time expiration_time) { in InformOwnerOnGetTokenSuccess() argument
257 consumer_->OnGetTokenSuccess(owner(), access_token, expiration_time); in InformOwnerOnGetTokenSuccess()
Doauth2_access_token_consumer.h24 const base::Time& expiration_time) {} in OnGetTokenSuccess() argument
Doauth2_access_token_fetcher.h47 const base::Time& expiration_time);
/external/chromium_org/net/extras/sqlite/
Dsqlite_channel_id_store_unittest.cc134 ASSERT_EQ(2, goog_channel_id->expiration_time().ToInternalValue()); in TEST_F()
139 ASSERT_EQ(4, foo_channel_id->expiration_time().ToInternalValue()); in TEST_F()
330 ASSERT_EQ(GetTestCertExpirationTime(), channel_ids[0]->expiration_time()); in TEST_F()
336 ASSERT_EQ(base::Time(), channel_ids[1]->expiration_time()); in TEST_F()
413 ASSERT_EQ(1000, channel_ids[0]->expiration_time().ToInternalValue()); in TEST_F()
419 ASSERT_EQ(2000, channel_ids[1]->expiration_time().ToInternalValue()); in TEST_F()
505 ASSERT_EQ(GetTestCertExpirationTime(), channel_ids[0]->expiration_time()); in TEST_F()
/external/chromium_org/components/policy/core/common/cloud/
Dcloud_policy_client_registration_helper.cc49 const base::Time& expiration_time) OVERRIDE;
81 const base::Time& expiration_time) { in OnGetTokenSuccess() argument
111 const base::Time& expiration_time) OVERRIDE;
141 const base::Time& expiration_time) { in OnGetTokenSuccess() argument
/external/chromium_org/sync/test/accounts_client/
Dtest_accounts_client_unittest.cc34 session.expiration_time = kExpirationTime; in CreateValidAccountSession()
79 EXPECT_EQ(kExpirationTime, session.expiration_time); in TEST()
/external/chromium_org/components/signin/core/browser/
Dabout_signin_internals.cc254 base::Time expiration_time) { in OnFetchAccessTokenComplete() argument
263 token->expiration_time = expiration_time; in OnFetchAccessTokenComplete()
383 bool token_expired = expiration_time < base::Time::Now(); in ToValue()
390 GetTimeStr(expiration_time).c_str()); in ToValue()
Dabout_signin_internals.h105 base::Time expiration_time) OVERRIDE;
130 base::Time expiration_time; member
Dsignin_account_id_helper.cc27 const base::Time& expiration_time) OVERRIDE;
75 const base::Time& expiration_time) { in OnGetTokenSuccess() argument
/external/chromium_org/sync/internal_api/attachments/
Dattachment_downloader_impl_unittest.cc63 base::Time expiration_time; in RespondToAccessTokenRequest() local
66 expiration_time = base::Time::Max(); in RespondToAccessTokenRequest()
74 expiration_time)); in RespondToAccessTokenRequest()
/external/chromium_org/net/cert/
Dmulti_threaded_cert_verifier.cc121 expiration_time(now) { in CacheValidityPeriod()
128 expiration_time(expiration) { in CacheValidityPeriod()
138 DCHECK(now.verification_time == now.expiration_time); in operator ()()
163 now.verification_time < expiration.expiration_time; in operator ()()
/external/chromium_org/chrome/browser/net/
Dquota_policy_channel_id_store_unittest.cc136 ASSERT_EQ(2, goog_channel_id->expiration_time().ToInternalValue()); in TEST_F()
141 ASSERT_EQ(4, foo_channel_id->expiration_time().ToInternalValue()); in TEST_F()
/external/chromium_org/google_apis/drive/
Dauth_service.cc50 const base::Time& expiration_time) OVERRIDE;
84 const base::Time& expiration_time) { in OnGetTokenSuccess() argument

12345