Searched defs:motivation (Results 1 - 6 of 6) sorted by relevance

/external/chromium/chrome/browser/net/
H A Dpreconnect.cc24 UrlInfo::ResolutionMotivation motivation,
30 NewRunnableFunction(PreconnectOnIOThread, url, motivation,
38 UrlInfo::ResolutionMotivation motivation,
49 UMA_HISTOGRAM_ENUMERATION("Net.PreconnectMotivation", motivation,
74 // Translate the motivation from UrlRequest motivations to HttpRequest
76 switch (motivation) {
78 request_info.motivation = net::HttpRequestInfo::OMNIBOX_MOTIVATED;
81 request_info.motivation = net::HttpRequestInfo::PRECONNECT_MOTIVATED;
85 request_info.motivation = net::HttpRequestInfo::EARLY_LOAD_MOTIVATED;
22 PreconnectOnUIThread( const GURL& url, UrlInfo::ResolutionMotivation motivation, int count) argument
36 PreconnectOnIOThread( const GURL& url, UrlInfo::ResolutionMotivation motivation, int count) argument
H A Dpredictor_unittest.cc267 const GURL& motivation, const ListValue& referral_list) {
277 if (motivation == GURL(existing_spec))
293 static void AddToSerializedList(const GURL& motivation, argument
297 // Find the motivation if it is already used.
298 ListValue* motivation_list = FindSerializationMotivation(motivation,
301 // This is the first mention of this motivation, so build a list.
303 motivation_list->Append(new StringValue(motivation.spec()));
325 // For a given motivation, and subresource, find what latency is currently
329 static bool GetDataFromSerialization(const GURL& motivation, argument
333 ListValue* motivation_list = FindSerializationMotivation(motivation,
266 FindSerializationMotivation( const GURL& motivation, const ListValue& referral_list) argument
[all...]
H A Durl_info.cc93 void UrlInfo::SetQueuedState(ResolutionMotivation motivation) { argument
98 SetMotivation(motivation);
315 void UrlInfo::SetMotivation(ResolutionMotivation motivation) { argument
316 motivation_ = motivation;
317 if (motivation < LINKED_MAX_MOTIVATED)
H A Dpredictor.cc132 UrlInfo::ResolutionMotivation motivation) {
136 AppendToResolutionQueue(*it, motivation);
143 UrlInfo::ResolutionMotivation motivation) {
147 AppendToResolutionQueue(url, motivation);
174 UrlInfo::ResolutionMotivation motivation(UrlInfo::OMNIBOX_MOTIVATED);
207 PreconnectOnUIThread(CanonicalizeUrl(url), motivation, local
233 motivation));
239 UrlInfo::ResolutionMotivation motivation(UrlInfo::EARLY_LOAD_MOTIVATED);
241 PreconnectOnUIThread(CanonicalizeUrl(url), motivation, local
275 const UrlInfo::ResolutionMotivation motivation local
131 ResolveList(const UrlList& urls, UrlInfo::ResolutionMotivation motivation) argument
142 Resolve(const GURL& url, UrlInfo::ResolutionMotivation motivation) argument
458 AppendToResolutionQueue( const GURL& url, UrlInfo::ResolutionMotivation motivation) argument
711 Push(const GURL& url, UrlInfo::ResolutionMotivation motivation) argument
[all...]
H A Dpredictor_api.cc41 UrlInfo::ResolutionMotivation motivation);
177 UrlInfo::ResolutionMotivation motivation) {
184 g_predictor->ResolveList(urls, motivation);
190 &Predictor::ResolveList, urls, motivation));
175 DnsPrefetchMotivatedList( const UrlList& urls, UrlInfo::ResolutionMotivation motivation) argument
/external/chromium/net/http/
H A Dhttp_request_info.h23 NORMAL_MOTIVATION, // No special motivation associated with the request.
53 // The motivation behind this request.
54 RequestMotivation motivation; member in struct:net::HttpRequestInfo

Completed in 873 milliseconds