Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/extensions/token_cache/
Dtoken_cache_service.cc27 base::TimeDelta time_to_live) { in StoreToken() argument
35 DCHECK(time_to_live >= zero_delta); in StoreToken()
37 if (zero_delta < time_to_live) { in StoreToken()
39 expiration_time += time_to_live; in StoreToken()
Dtoken_cache_service.h40 base::TimeDelta time_to_live);
/external/chromium_org/google_apis/gaia/
Doauth2_mint_token_flow.cc129 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()
Doauth2_mint_token_flow.h94 int time_to_live) {} in OnMintTokenSuccess() argument
130 void ReportSuccess(const std::string& access_token, int time_to_live);
138 int* time_to_live);
Doauth2_mint_token_flow_unittest.cc131 int time_to_live));
/external/chromium_org/chrome/browser/prerender/
Dprerender_unittest.cc411 prerender_manager()->config().time_to_live + TimeDelta::FromSeconds(1)); in TEST_F()
433 const TimeDelta time_to_live = TimeDelta::FromSeconds(300); in TEST_F() local
436 ASSERT_LT(test_advance, time_to_live); in TEST_F()
439 prerender_manager()->mutable_config().time_to_live = time_to_live; in TEST_F()
464 const TimeDelta time_to_live = TimeDelta::FromSeconds(300); in TEST_F() local
473 ASSERT_LT(first_advance, time_to_live); in TEST_F()
474 ASSERT_LT(time_to_live - first_advance, abandon_time_to_live); in TEST_F()
475 ASSERT_LT(time_to_live, first_advance + second_advance); in TEST_F()
477 prerender_manager()->mutable_config().time_to_live = time_to_live; in TEST_F()
508 const TimeDelta time_to_live = TimeDelta::FromSeconds(300); in TEST_F() local
[all …]
Dprerender_config.cc14 time_to_live(base::TimeDelta::FromMinutes(5)), in Config()
Dprerender_config.h39 base::TimeDelta time_to_live; member
Dprerender_manager.cc285 config_.time_to_live = base::TimeDelta::FromMinutes(15); in PrerenderManager()
1535 base::TimeDelta ttl = config_.time_to_live; in GetExpiryTimeForNewPrerender()
/external/chromium_org/chrome/browser/extensions/api/identity/
Didentity_api.cc268 const std::string& access_token, int time_to_live) { in OnMintTokenSuccess() argument
270 base::TimeDelta::FromSeconds(time_to_live)); in OnMintTokenSuccess()
371 int time_to_live; in OnGaiaFlowCompleted() local
372 if (!expiration.empty() && base::StringToInt(expiration, &time_to_live)) { in OnGaiaFlowCompleted()
374 access_token, base::TimeDelta::FromSeconds(time_to_live)); in OnGaiaFlowCompleted()
627 const std::string& token, base::TimeDelta time_to_live) in IdentityTokenCacheValue() argument
632 time_to_live -= base::TimeDelta::FromMinutes(20); in IdentityTokenCacheValue()
635 if (time_to_live < zero_delta) in IdentityTokenCacheValue()
636 time_to_live = zero_delta; in IdentityTokenCacheValue()
638 expiration_time_ = base::Time::Now() + time_to_live; in IdentityTokenCacheValue()
Didentity_api.h112 int time_to_live) OVERRIDE;
229 base::TimeDelta time_to_live);
/external/chromium_org/chrome/browser/ui/webui/
Didentity_internals_ui_browsertest.cc49 int time_to_live) { in AddTokenToCache() argument
52 base::TimeDelta::FromSeconds(time_to_live)); in AddTokenToCache()
Didentity_internals_ui_browsertest.h27 int time_to_live);
/external/chromium_org/net/udp/
Dudp_server_socket.cc84 int UDPServerSocket::SetMulticastTimeToLive(int time_to_live) { in SetMulticastTimeToLive() argument
85 return socket_.SetMulticastTimeToLive(time_to_live); in SetMulticastTimeToLive()
Ddatagram_server_socket.h94 virtual int SetMulticastTimeToLive(int time_to_live) = 0;
Dudp_server_socket.h45 virtual int SetMulticastTimeToLive(int time_to_live) OVERRIDE;
Dudp_socket_libevent.cc721 int UDPSocketLibevent::SetMulticastTimeToLive(int time_to_live) { in SetMulticastTimeToLive() argument
726 if (time_to_live < 0 || time_to_live > 255) in SetMulticastTimeToLive()
728 multicast_time_to_live_ = time_to_live; in SetMulticastTimeToLive()
Dudp_socket_win.cc779 int UDPSocketWin::SetMulticastTimeToLive(int time_to_live) { in SetMulticastTimeToLive() argument
784 if (time_to_live < 0 || time_to_live > 255) in SetMulticastTimeToLive()
786 multicast_time_to_live_ = time_to_live; in SetMulticastTimeToLive()
Dudp_socket_win.h143 int SetMulticastTimeToLive(int time_to_live); in NON_EXPORTED_BASE()
Dudp_socket_libevent.h143 int SetMulticastTimeToLive(int time_to_live);
/external/chromium_org/chrome/browser/extensions/api/gcm/
Dgcm_api.cc141 if (params->message.time_to_live.get()) in DoWork()
142 outgoing_message_.time_to_live = *params->message.time_to_live; in DoWork()
/external/chromium_org/google_apis/gcm/
Dgcm_client.cc21 : time_to_live(0) { in OutgoingMessage()
Dgcm_client.h54 int time_to_live; member
/external/chromium_org/chrome/browser/extensions/activity_log/
Dactivity_log_browsertest.cc85 prerender_manager->mutable_config().time_to_live = in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/content/browser/renderer_host/p2p/
Dsocket_host_udp_unittest.cc148 virtual int SetMulticastTimeToLive(int time_to_live) OVERRIDE { in SetMulticastTimeToLive() argument