Searched refs:UrlInfo (Results 1 - 20 of 20) sorted by relevance

/external/chromium/chrome/browser/net/
H A Durl_info_unittest.cc5 // Single threaded tests of UrlInfo functionality.
23 typedef chrome_browser_net::UrlInfo UrlInfo; typedef in namespace:__anon2304
25 // Cycle throught the states held by a UrlInfo instance, and check to see that
29 UrlInfo info_practice, info;
36 info_practice.SetQueuedState(UrlInfo::UNIT_TEST_MOTIVATED);
45 info.SetQueuedState(UrlInfo::UNIT_TEST_MOTIVATED);
55 UrlInfo::get_cache_expiration().InMilliseconds());
65 info.SetQueuedState(UrlInfo::UNIT_TEST_MOTIVATED);
87 // situation, we divert the sequence of states a UrlInfo instanc
[all...]
H A Dpreconnect.h22 UrlInfo::ResolutionMotivation motivation,
29 UrlInfo::ResolutionMotivation motivation,
H A Durl_info.cc31 int UrlInfo::sequence_counter = 1;
33 UrlInfo::UrlInfo() function in class:chrome_browser_net::UrlInfo
43 UrlInfo::~UrlInfo() {}
45 bool UrlInfo::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
[all...]
H A Dpreconnect.cc24 UrlInfo::ResolutionMotivation motivation,
38 UrlInfo::ResolutionMotivation motivation,
50 UrlInfo::MAX_MOTIVATED);
77 case UrlInfo::OMNIBOX_MOTIVATED:
80 case UrlInfo::LEARNED_REFERAL_MOTIVATED:
83 case UrlInfo::SELF_REFERAL_MOTIVATED:
84 case UrlInfo::EARLY_LOAD_MOTIVATED:
H A Dpredictor.h46 typedef std::map<GURL, UrlInfo> Results;
74 UrlInfo::ResolutionMotivation motivation);
76 UrlInfo::ResolutionMotivation motivation);
165 UrlInfo::ResolutionMotivation motivation);
223 // or UrlInfo::kNullDuration if it hasn't been resolved yet.
226 return UrlInfo::kNullDuration;
242 UrlInfo* AppendToResolutionQueue(const GURL& url,
243 UrlInfo::ResolutionMotivation motivation);
257 bool CongestionControlPerformed(UrlInfo* info);
H A Durl_info.h5 // A UrlInfo object is used to store prediction related information about a host
12 // UrlInfo objects are also used to describe frames, and additional instances
32 class UrlInfo { class in namespace:chrome_browser_net
72 typedef std::vector<UrlInfo> UrlInfoTable;
76 // UrlInfo are usually made by the default constructor during
78 UrlInfo();
80 ~UrlInfo();
189 // DISALLOW_COPY_AND_ASSIGN(UrlInfo);
H A Dpredictor.cc132 UrlInfo::ResolutionMotivation motivation) {
143 UrlInfo::ResolutionMotivation motivation) {
174 UrlInfo::ResolutionMotivation motivation(UrlInfo::OMNIBOX_MOTIVATED);
239 UrlInfo::ResolutionMotivation motivation(UrlInfo::EARLY_LOAD_MOTIVATED);
269 PreconnectOnIOThread(url, UrlInfo::SELF_REFERAL_MOTIVATED, 2);
275 const UrlInfo::ResolutionMotivation motivation =
276 UrlInfo::LEARNED_REFERAL_MOTIVATED;
296 UrlInfo* queued_inf
[all...]
H A Dpredictor_unittest.cc46 UrlInfo::kNullDuration)
136 testing_master->ResolveList(names, UrlInfo::PAGE_SCAN_MOTIVATED);
165 testing_master->ResolveList(names, UrlInfo::PAGE_SCAN_MOTIVATED);
208 testing_master->ResolveList(names, UrlInfo::PAGE_SCAN_MOTIVATED);
247 testing_master->ResolveList(names, UrlInfo::PAGE_SCAN_MOTIVATED);
502 queue.Push(first, UrlInfo::LEARNED_REFERAL_MOTIVATED);
504 queue.Push(second, UrlInfo::MOUSE_OVER_MOTIVATED);
512 queue.Push(first, UrlInfo::PAGE_SCAN_MOTIVATED);
514 queue.Push(second, UrlInfo::OMNIBOX_MOTIVATED);
536 queue.Push(low1, UrlInfo
[all...]
H A Dpredictor_api.cc41 UrlInfo::ResolutionMotivation motivation);
172 DnsPrefetchMotivatedList(urls, UrlInfo::PAGE_SCAN_MOTIVATED);
177 UrlInfo::ResolutionMotivation motivation) {
245 typedef std::map<int, UrlInfo> ObservedResolutionMap;
282 UrlInfo::UrlInfoTable resolution_list;
287 UrlInfo info;
293 UrlInfo::GetHtmlTable(resolution_list,
440 UrlInfo::STARTUP_LIST_MOTIVATED);
/external/chromium_org/chrome/browser/net/
H A Durl_info_unittest.cc5 // Single threaded tests of UrlInfo functionality.
23 typedef chrome_browser_net::UrlInfo UrlInfo; typedef in namespace:__anon5391
25 // Cycle throught the states held by a UrlInfo instance, and check to see that
29 UrlInfo info_practice, info;
36 info_practice.SetQueuedState(UrlInfo::UNIT_TEST_MOTIVATED);
45 info.SetQueuedState(UrlInfo::UNIT_TEST_MOTIVATED);
55 UrlInfo::get_cache_expiration().InMilliseconds());
65 info.SetQueuedState(UrlInfo::UNIT_TEST_MOTIVATED);
88 // situation, we divert the sequence of states a UrlInfo instanc
[all...]
H A Dpreconnect.cc27 UrlInfo::ResolutionMotivation motivation,
43 UrlInfo::ResolutionMotivation motivation,
54 UrlInfo::MAX_MOTIVATED);
86 case UrlInfo::OMNIBOX_MOTIVATED:
89 case UrlInfo::LEARNED_REFERAL_MOTIVATED:
92 case UrlInfo::MOUSE_OVER_MOTIVATED:
93 case UrlInfo::SELF_REFERAL_MOTIVATED:
94 case UrlInfo::EARLY_LOAD_MOTIVATED:
H A Dpreconnect.h26 UrlInfo::ResolutionMotivation motivation,
35 UrlInfo::ResolutionMotivation motivation,
H A Durl_info.cc67 int UrlInfo::sequence_counter = 1;
69 UrlInfo::UrlInfo() function in class:chrome_browser_net::UrlInfo
79 UrlInfo::~UrlInfo() {}
81 bool UrlInfo::NeedsDnsUpdate() {
103 void UrlInfo::set_cache_expiration(TimeDelta time) {
108 TimeDelta UrlInfo::get_cache_expiration() {
112 void UrlInfo::SetQueuedState(ResolutionMotivation motivation) {
122 void UrlInfo
[all...]
H A Durl_info.h5 // A UrlInfo object is used to store prediction related information about a host
12 // UrlInfo objects are also used to describe frames, and additional instances
31 class UrlInfo { class in namespace:chrome_browser_net
67 typedef std::vector<UrlInfo> UrlInfoTable;
73 // UrlInfo are usually made by the default constructor during
75 UrlInfo();
77 ~UrlInfo();
183 // DISALLOW_COPY_AND_ASSIGN(UrlInfo);
H A Dpredictor.h59 typedef std::map<GURL, UrlInfo> Results;
156 UrlInfo::ResolutionMotivation motivation);
158 void Resolve(const GURL& url, UrlInfo::ResolutionMotivation motivation);
214 UrlInfo::ResolutionMotivation motivation);
234 UrlInfo::ResolutionMotivation motivation, int count);
238 UrlInfo::ResolutionMotivation motivation,
315 UrlInfo::ResolutionMotivation motivation);
398 // or UrlInfo::NullDuration() if it hasn't been resolved yet.
401 return UrlInfo::NullDuration();
425 UrlInfo* AppendToResolutionQueu
[all...]
H A Dpredictor_unittest.cc47 UrlInfo::NullDuration())
128 testing_master.ResolveList(names, UrlInfo::PAGE_SCAN_MOTIVATED);
155 testing_master.ResolveList(names, UrlInfo::PAGE_SCAN_MOTIVATED);
195 testing_master.ResolveList(names, UrlInfo::PAGE_SCAN_MOTIVATED);
231 testing_master.ResolveList(names, UrlInfo::PAGE_SCAN_MOTIVATED);
563 queue.Push(first, UrlInfo::LEARNED_REFERAL_MOTIVATED);
565 queue.Push(second, UrlInfo::MOUSE_OVER_MOTIVATED);
573 queue.Push(first, UrlInfo::PAGE_SCAN_MOTIVATED);
575 queue.Push(second, UrlInfo::OMNIBOX_MOTIVATED);
597 queue.Push(low1, UrlInfo
[all...]
H A Dpredictor.cc345 UrlInfo::ResolutionMotivation motivation(UrlInfo::OMNIBOX_MOTIVATED);
416 UrlInfo::ResolutionMotivation motivation(UrlInfo::EARLY_LOAD_MOTIVATED);
522 UrlInfo* info = &results_[url];
535 UrlInfo* info = &it->second;
553 UrlInfo::ResolutionMotivation motivation) {
564 UrlInfo::ResolutionMotivation motivation) {
688 // Local lists for calling UrlInfo
689 UrlInfo
[all...]
/external/chromium_org/chrome/browser/chromeos/login/
H A Dauth_prewarmer.cc102 chrome_browser_net::UrlInfo::EARLY_LOAD_MOTIVATED,
/external/chromium/chrome/browser/chromeos/login/
H A Dlogin_utils.cc541 chrome_browser_net::UrlInfo::EARLY_LOAD_MOTIVATED,
556 chrome_browser_net::UrlInfo::EARLY_LOAD_MOTIVATED,
/external/chromium_org/chrome/browser/renderer_host/
H A Dchrome_render_message_filter.cc203 url, GURL(), chrome_browser_net::UrlInfo::MOUSE_OVER_MOTIVATED, 1);

Completed in 160 milliseconds