Searched defs:time_to_live (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/chrome/browser/prerender/
H A Dprerender_config.h39 base::TimeDelta time_to_live; member in struct:prerender::Config
H A Dprerender_unittest.cc470 prerender_manager()->config().time_to_live + TimeDelta::FromSeconds(1));
492 const TimeDelta time_to_live = TimeDelta::FromSeconds(300); local
495 ASSERT_LT(test_advance, time_to_live);
498 prerender_manager()->mutable_config().time_to_live = time_to_live;
523 const TimeDelta time_to_live = TimeDelta::FromSeconds(300); local
532 ASSERT_LT(first_advance, time_to_live);
533 ASSERT_LT(time_to_live - first_advance, abandon_time_to_live);
534 ASSERT_LT(time_to_live, first_advance + second_advance);
536 prerender_manager()->mutable_config().time_to_live
567 const TimeDelta time_to_live = TimeDelta::FromSeconds(300); local
[all...]
/external/chromium_org/chrome/browser/ui/webui/
H A Didentity_internals_ui_browsertest.cc49 int time_to_live) {
52 base::TimeDelta::FromSeconds(time_to_live));
45 AddTokenToCache( const std::string token_id, const std::string extension_id, const std::vector<std::string>& scopes, int time_to_live) argument
/external/chromium_org/components/search_provider_logos/
H A Dgoogle_logo_api.cc49 // "time_to_live": 1389304799
92 base::TimeDelta time_to_live; local
94 if (logo_dict->GetInteger("time_to_live", &time_to_live_ms)) {
95 time_to_live = base::TimeDelta::FromMilliseconds(
99 time_to_live = base::TimeDelta::FromMilliseconds(kMaxTimeToLiveMS);
102 logo->metadata.expiration_time = response_time + time_to_live;
H A Dlogo_tracker_unittest.cc123 base::TimeDelta time_to_live) {
133 if (time_to_live.ToInternalValue() != 0)
134 dict.SetInteger("update.logo.time_to_live",
135 static_cast<int>(time_to_live.InMilliseconds()));
142 std::string MakeServerResponse(const Logo& logo, base::TimeDelta time_to_live) { argument
148 time_to_live);
355 base::TimeDelta time_to_live; local
357 time_to_live = logo.metadata.expiration_time - test_clock_->Now();
358 return MakeServerResponse(logo, time_to_live);
523 base::TimeDelta time_to_live local
117 MakeServerResponse( const SkBitmap& image, const std::string& on_click_url, const std::string& alt_text, const std::string& mime_type, const std::string& fingerprint, base::TimeDelta time_to_live) argument
538 base::TimeDelta time_to_live = base::TimeDelta(); local
[all...]
/external/chromium_org/chrome/browser/extensions/token_cache/
H A Dtoken_cache_service.cc25 base::TimeDelta time_to_live) {
33 DCHECK(time_to_live >= zero_delta);
35 if (zero_delta < time_to_live) {
37 expiration_time += time_to_live;
23 StoreToken(const std::string& token_name, const std::string& token_value, base::TimeDelta time_to_live) argument
/external/chromium_org/google_apis/gaia/
H A Doauth2_mint_token_flow.h96 int time_to_live) {}
132 void ReportSuccess(const std::string& access_token, int time_to_live);
140 int* time_to_live);
95 OnMintTokenSuccess(const std::string& access_token, int time_to_live) argument
H A Doauth2_mint_token_flow.cc129 int time_to_live) {
131 delegate_->OnMintTokenSuccess(access_token, time_to_live);
203 int time_to_live; local
204 if (ParseMintTokenResponse(dict, &access_token, &time_to_live))
205 ReportSuccess(access_token, time_to_live);
233 int* time_to_live) {
236 CHECK(time_to_live);
239 base::StringToInt(ttl_string, time_to_live) &&
128 ReportSuccess(const std::string& access_token, int time_to_live) argument
231 ParseMintTokenResponse( const base::DictionaryValue* dict, std::string* access_token, int* time_to_live) argument
/external/chromium_org/net/udp/
H A Dudp_server_socket.cc84 int UDPServerSocket::SetMulticastTimeToLive(int time_to_live) { argument
85 return socket_.SetMulticastTimeToLive(time_to_live);
H A Dudp_socket_libevent.cc730 int UDPSocketLibevent::SetMulticastTimeToLive(int time_to_live) { argument
735 if (time_to_live < 0 || time_to_live > 255)
737 multicast_time_to_live_ = time_to_live;
H A Dudp_socket_win.cc894 int UDPSocketWin::SetMulticastTimeToLive(int time_to_live) { argument
899 if (time_to_live < 0 || time_to_live > 255)
901 multicast_time_to_live_ = time_to_live;
/external/chromium_org/chrome/browser/signin/
H A Deasy_unlock_toggle_flow.cc190 int time_to_live) {
189 OnMintTokenSuccess(const std::string& access_token, int time_to_live) argument
/external/chromium_org/components/gcm_driver/
H A Dgcm_client.h99 int time_to_live; member in struct:gcm::GCMClient::OutgoingMessage
/external/chromium_org/chrome/browser/extensions/api/identity/
H A Didentity_api.cc96 base::TimeDelta time_to_live)
100 time_to_live -= base::TimeDelta::FromMinutes(20);
103 if (time_to_live < zero_delta)
104 time_to_live = zero_delta;
106 expiration_time_ = base::Time::Now() + time_to_live;
545 const std::string& access_token, int time_to_live) {
552 base::TimeDelta::FromSeconds(time_to_live));
676 int time_to_live; local
677 if (!expiration.empty() && base::StringToInt(expiration, &time_to_live)) {
679 access_token, base::TimeDelta::FromSeconds(time_to_live));
95 IdentityTokenCacheValue(const std::string& token, base::TimeDelta time_to_live) argument
544 OnMintTokenSuccess( const std::string& access_token, int time_to_live) argument
[all...]

Completed in 265 milliseconds