/external/chromium_org/chrome/browser/extensions/token_cache/ |
D | token_cache_service.cc | 25 base::TimeDelta time_to_live) { in StoreToken() argument 33 DCHECK(time_to_live >= zero_delta); in StoreToken() 35 if (zero_delta < time_to_live) { in StoreToken() 37 expiration_time += time_to_live; in StoreToken()
|
D | token_cache_service.h | 35 base::TimeDelta time_to_live);
|
/external/chromium_org/google_apis/gaia/ |
D | oauth2_mint_token_flow.cc | 129 int time_to_live) { in ReportSuccess() argument 131 delegate_->OnMintTokenSuccess(access_token, time_to_live); in ReportSuccess() 203 int time_to_live; in ProcessApiCallSuccess() local 204 if (ParseMintTokenResponse(dict, &access_token, &time_to_live)) in ProcessApiCallSuccess() 205 ReportSuccess(access_token, time_to_live); in ProcessApiCallSuccess() 233 int* time_to_live) { in ParseMintTokenResponse() argument 236 CHECK(time_to_live); in ParseMintTokenResponse() 239 base::StringToInt(ttl_string, time_to_live) && in ParseMintTokenResponse()
|
D | oauth2_mint_token_flow.h | 96 int time_to_live) {} in OnMintTokenSuccess() argument 132 void ReportSuccess(const std::string& access_token, int time_to_live); 140 int* time_to_live);
|
/external/chromium_org/components/search_provider_logos/ |
D | google_logo_api.cc | 92 base::TimeDelta time_to_live; in GoogleParseLogoResponse() local 95 time_to_live = base::TimeDelta::FromMilliseconds( in GoogleParseLogoResponse() 99 time_to_live = base::TimeDelta::FromMilliseconds(kMaxTimeToLiveMS); in GoogleParseLogoResponse() 102 logo->metadata.expiration_time = response_time + time_to_live; in GoogleParseLogoResponse()
|
D | logo_tracker_unittest.cc | 123 base::TimeDelta time_to_live) { in MakeServerResponse() argument 133 if (time_to_live.ToInternalValue() != 0) in MakeServerResponse() 135 static_cast<int>(time_to_live.InMilliseconds())); in MakeServerResponse() 142 std::string MakeServerResponse(const Logo& logo, base::TimeDelta time_to_live) { in MakeServerResponse() argument 148 time_to_live); in MakeServerResponse() 355 base::TimeDelta time_to_live; in ServerResponse() local 357 time_to_live = logo.metadata.expiration_time - test_clock_->Now(); in ServerResponse() 358 return MakeServerResponse(logo, time_to_live); in ServerResponse() 523 base::TimeDelta time_to_live = base::TimeDelta::FromDays(3); in TEST_F() local 524 logo.metadata.expiration_time = test_clock_->Now() + time_to_live; in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/prerender/ |
D | prerender_unittest.cc | 470 prerender_manager()->config().time_to_live + TimeDelta::FromSeconds(1)); in TEST_F() 492 const TimeDelta time_to_live = TimeDelta::FromSeconds(300); in TEST_F() local 495 ASSERT_LT(test_advance, time_to_live); in TEST_F() 498 prerender_manager()->mutable_config().time_to_live = time_to_live; in TEST_F() 523 const TimeDelta time_to_live = TimeDelta::FromSeconds(300); in TEST_F() local 532 ASSERT_LT(first_advance, time_to_live); in TEST_F() 533 ASSERT_LT(time_to_live - first_advance, abandon_time_to_live); in TEST_F() 534 ASSERT_LT(time_to_live, first_advance + second_advance); in TEST_F() 536 prerender_manager()->mutable_config().time_to_live = time_to_live; in TEST_F() 567 const TimeDelta time_to_live = TimeDelta::FromSeconds(300); in TEST_F() local [all …]
|
D | prerender_config.cc | 14 time_to_live(base::TimeDelta::FromMinutes(5)), in Config()
|
D | prerender_config.h | 39 base::TimeDelta time_to_live; member
|
/external/chromium_org/chrome/browser/extensions/api/identity/ |
D | identity_api.cc | 96 base::TimeDelta time_to_live) in IdentityTokenCacheValue() argument 100 time_to_live -= base::TimeDelta::FromMinutes(20); in IdentityTokenCacheValue() 103 if (time_to_live < zero_delta) in IdentityTokenCacheValue() 104 time_to_live = zero_delta; in IdentityTokenCacheValue() 106 expiration_time_ = base::Time::Now() + time_to_live; in IdentityTokenCacheValue() 545 const std::string& access_token, int time_to_live) { in OnMintTokenSuccess() argument 552 base::TimeDelta::FromSeconds(time_to_live)); in OnMintTokenSuccess() 676 int time_to_live; in OnGaiaFlowCompleted() local 677 if (!expiration.empty() && base::StringToInt(expiration, &time_to_live)) { in OnGaiaFlowCompleted() 679 access_token, base::TimeDelta::FromSeconds(time_to_live)); in OnGaiaFlowCompleted()
|
D | identity_api.h | 60 base::TimeDelta time_to_live); 249 int time_to_live) OVERRIDE;
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | identity_internals_ui_browsertest.cc | 49 int time_to_live) { in AddTokenToCache() argument 52 base::TimeDelta::FromSeconds(time_to_live)); in AddTokenToCache()
|
D | identity_internals_ui_browsertest.h | 27 int time_to_live);
|
/external/chromium_org/net/udp/ |
D | udp_server_socket.cc | 84 int UDPServerSocket::SetMulticastTimeToLive(int time_to_live) { in SetMulticastTimeToLive() argument 85 return socket_.SetMulticastTimeToLive(time_to_live); in SetMulticastTimeToLive()
|
D | datagram_server_socket.h | 96 virtual int SetMulticastTimeToLive(int time_to_live) = 0;
|
D | udp_server_socket.h | 45 virtual int SetMulticastTimeToLive(int time_to_live) OVERRIDE;
|
D | udp_socket_libevent.cc | 730 int UDPSocketLibevent::SetMulticastTimeToLive(int time_to_live) { in SetMulticastTimeToLive() argument 735 if (time_to_live < 0 || time_to_live > 255) in SetMulticastTimeToLive() 737 multicast_time_to_live_ = time_to_live; in SetMulticastTimeToLive()
|
D | udp_socket_win.cc | 894 int UDPSocketWin::SetMulticastTimeToLive(int time_to_live) { in SetMulticastTimeToLive() argument 899 if (time_to_live < 0 || time_to_live > 255) in SetMulticastTimeToLive() 901 multicast_time_to_live_ = time_to_live; in SetMulticastTimeToLive()
|
/external/chromium_org/chrome/browser/extensions/api/gcm/ |
D | gcm_api.cc | 168 if (params->message.time_to_live.get()) in DoWork() 169 outgoing_message.time_to_live = *params->message.time_to_live; in DoWork()
|
D | gcm_apitest.cc | 156 EXPECT_EQ(100, message.time_to_live); in IN_PROC_BROWSER_TEST_F() 174 EXPECT_EQ(gcm::GCMClient::OutgoingMessage::kMaximumTTL, message.time_to_live); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/components/gcm_driver/ |
D | gcm_client.cc | 21 : time_to_live(kMaximumTTL) { in OutgoingMessage()
|
D | gcm_client_impl.cc | 163 if (message.time_to_live == 0) in RecordOutgoingMessageToUMA() 165 else if (message.time_to_live <= 60 ) in RecordOutgoingMessageToUMA() 167 else if (message.time_to_live <= 60 * 60) in RecordOutgoingMessageToUMA() 169 else if (message.time_to_live <= 24 * 60 * 60) in RecordOutgoingMessageToUMA() 735 stanza.set_ttl(message.time_to_live); in Send()
|
D | gcm_account_mapper.cc | 253 outgoing_message.time_to_live = kGCMRemoveMappingMessageTTL; in CreateAndSendMessage() 257 outgoing_message.time_to_live = kGCMAddMappingMessageTTL; in CreateAndSendMessage()
|
/external/chromium_org/chrome/browser/signin/ |
D | easy_unlock_toggle_flow.h | 43 int time_to_live) OVERRIDE;
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
D | activity_log_browsertest.cc | 88 prerender_manager->mutable_config().time_to_live = in IN_PROC_BROWSER_TEST_F()
|