Home
last modified time | relevance | path

Searched refs:UrlInfo (Results 1 – 10 of 10) sorted by relevance

/external/chromium/chrome/browser/net/
Durl_info.cc31 int UrlInfo::sequence_counter = 1;
33 UrlInfo::UrlInfo() in UrlInfo() function in chrome_browser_net::UrlInfo
43 UrlInfo::~UrlInfo() {} in ~UrlInfo()
45 bool UrlInfo::NeedsDnsUpdate() { in NeedsDnsUpdate()
65 const TimeDelta UrlInfo::kNullDuration(TimeDelta::FromMilliseconds(-1));
77 TimeDelta UrlInfo::cache_expiration_duration_(TimeDelta::FromSeconds(5));
79 const TimeDelta UrlInfo::kMaxNonNetworkDnsLookupDuration(
84 void UrlInfo::set_cache_expiration(TimeDelta time) { in set_cache_expiration()
89 TimeDelta UrlInfo::get_cache_expiration() { in get_cache_expiration()
93 void UrlInfo::SetQueuedState(ResolutionMotivation motivation) { in SetQueuedState()
[all …]
Durl_info_unittest.cc23 typedef chrome_browser_net::UrlInfo UrlInfo; typedef
29 UrlInfo info_practice, info; in TEST()
36 info_practice.SetQueuedState(UrlInfo::UNIT_TEST_MOTIVATED); in TEST()
45 info.SetQueuedState(UrlInfo::UNIT_TEST_MOTIVATED); in TEST()
55 UrlInfo::get_cache_expiration().InMilliseconds()); in TEST()
65 info.SetQueuedState(UrlInfo::UNIT_TEST_MOTIVATED); in TEST()
95 UrlInfo info; in TEST()
99 info.SetQueuedState(UrlInfo::UNIT_TEST_MOTIVATED); in TEST()
112 info.SetQueuedState(UrlInfo::UNIT_TEST_MOTIVATED); in TEST()
118 info.SetQueuedState(UrlInfo::UNIT_TEST_MOTIVATED); in TEST()
Dpreconnect.cc24 UrlInfo::ResolutionMotivation motivation, in PreconnectOnUIThread()
38 UrlInfo::ResolutionMotivation motivation, in PreconnectOnIOThread()
50 UrlInfo::MAX_MOTIVATED); in PreconnectOnIOThread()
77 case UrlInfo::OMNIBOX_MOTIVATED: in PreconnectOnIOThread()
80 case UrlInfo::LEARNED_REFERAL_MOTIVATED: in PreconnectOnIOThread()
83 case UrlInfo::SELF_REFERAL_MOTIVATED: in PreconnectOnIOThread()
84 case UrlInfo::EARLY_LOAD_MOTIVATED: in PreconnectOnIOThread()
Dpredictor.cc132 UrlInfo::ResolutionMotivation motivation) { in ResolveList()
143 UrlInfo::ResolutionMotivation motivation) { in Resolve()
174 UrlInfo::ResolutionMotivation motivation(UrlInfo::OMNIBOX_MOTIVATED); in AnticipateOmniboxUrl()
239 UrlInfo::ResolutionMotivation motivation(UrlInfo::EARLY_LOAD_MOTIVATED); in PreconnectUrlAndSubresources()
269 PreconnectOnIOThread(url, UrlInfo::SELF_REFERAL_MOTIVATED, 2); in PrepareFrameSubresources()
275 const UrlInfo::ResolutionMotivation motivation = in PrepareFrameSubresources()
276 UrlInfo::LEARNED_REFERAL_MOTIVATED; in PrepareFrameSubresources()
296 UrlInfo* queued_info = AppendToResolutionQueue(future_url->first, in PrepareFrameSubresources()
424 UrlInfo::UrlInfoTable name_not_found; in GetHtmlInfo()
425 UrlInfo::UrlInfoTable name_preresolved; in GetHtmlInfo()
[all …]
Dpredictor.h46 typedef std::map<GURL, UrlInfo> Results;
74 UrlInfo::ResolutionMotivation motivation);
76 UrlInfo::ResolutionMotivation motivation);
165 UrlInfo::ResolutionMotivation motivation);
226 return UrlInfo::kNullDuration; in GetResolutionDuration()
242 UrlInfo* AppendToResolutionQueue(const GURL& url,
243 UrlInfo::ResolutionMotivation motivation);
257 bool CongestionControlPerformed(UrlInfo* info);
Dpredictor_unittest.cc46 UrlInfo::kNullDuration) in Run()
136 testing_master->ResolveList(names, UrlInfo::PAGE_SCAN_MOTIVATED); in TEST_F()
165 testing_master->ResolveList(names, UrlInfo::PAGE_SCAN_MOTIVATED); in TEST_F()
208 testing_master->ResolveList(names, UrlInfo::PAGE_SCAN_MOTIVATED); in TEST_F()
247 testing_master->ResolveList(names, UrlInfo::PAGE_SCAN_MOTIVATED); in TEST_F()
502 queue.Push(first, UrlInfo::LEARNED_REFERAL_MOTIVATED); in TEST_F()
504 queue.Push(second, UrlInfo::MOUSE_OVER_MOTIVATED); in TEST_F()
512 queue.Push(first, UrlInfo::PAGE_SCAN_MOTIVATED); in TEST_F()
514 queue.Push(second, UrlInfo::OMNIBOX_MOTIVATED); in TEST_F()
536 queue.Push(low1, UrlInfo::PAGE_SCAN_MOTIVATED); in TEST_F()
[all …]
Durl_info.h32 class UrlInfo {
72 typedef std::vector<UrlInfo> UrlInfoTable;
78 UrlInfo();
80 ~UrlInfo();
Dpreconnect.h22 UrlInfo::ResolutionMotivation motivation,
29 UrlInfo::ResolutionMotivation motivation,
Dpredictor_api.cc41 UrlInfo::ResolutionMotivation motivation);
172 DnsPrefetchMotivatedList(urls, UrlInfo::PAGE_SCAN_MOTIVATED); in DnsPrefetchList()
177 UrlInfo::ResolutionMotivation motivation) { in DnsPrefetchMotivatedList()
245 typedef std::map<int, UrlInfo> ObservedResolutionMap;
282 UrlInfo::UrlInfoTable resolution_list; in GetFirstResolutionsHtml()
287 UrlInfo info; in GetFirstResolutionsHtml()
293 UrlInfo::GetHtmlTable(resolution_list, in GetFirstResolutionsHtml()
440 UrlInfo::STARTUP_LIST_MOTIVATED); in FinalizePredictorInitialization()
/external/chromium/chrome/browser/chromeos/login/
Dlogin_utils.cc541 chrome_browser_net::UrlInfo::EARLY_LOAD_MOTIVATED, in OnNetworkManagerChanged()
556 chrome_browser_net::UrlInfo::EARLY_LOAD_MOTIVATED, in PrewarmAuthentication()