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

/external/chromium_org/net/http/
H A Dhttp_request_info.h25 NORMAL_MOTIVATION, // No special motivation associated with the request.
49 // The motivation behind this request.
50 RequestMotivation motivation; member in struct:net::HttpRequestInfo
/external/chromium_org/chrome/browser/net/
H A Dpreconnect.cc28 UrlInfo::ResolutionMotivation motivation,
36 motivation, count, make_scoped_refptr(getter)));
44 UrlInfo::ResolutionMotivation motivation,
54 UMA_HISTOGRAM_ENUMERATION("Net.PreconnectMotivation", motivation,
87 // Translate the motivation from UrlRequest motivations to HttpRequest
89 switch (motivation) {
91 request_info.motivation = net::HttpRequestInfo::OMNIBOX_MOTIVATED;
94 request_info.motivation = net::HttpRequestInfo::PRECONNECT_MOTIVATED;
99 request_info.motivation = net::HttpRequestInfo::EARLY_LOAD_MOTIVATED;
25 PreconnectOnUIThread( const GURL& url, const GURL& first_party_for_cookies, UrlInfo::ResolutionMotivation motivation, int count, net::URLRequestContextGetter* getter) argument
41 PreconnectOnIOThread( const GURL& url, const GURL& first_party_for_cookies, UrlInfo::ResolutionMotivation motivation, int count, net::URLRequestContextGetter* getter) argument
H A Dpredictor_unittest.cc269 const GURL& motivation,
280 if (motivation == GURL(existing_spec))
287 const GURL& motivation,
290 motivation, static_cast<const base::ListValue*>(referral_list)));
304 static void AddToSerializedList(const GURL& motivation, argument
308 // Find the motivation if it is already used.
309 base::ListValue* motivation_list = FindSerializationMotivation(motivation,
312 // This is the first mention of this motivation, so build a list.
314 motivation_list->Append(new base::StringValue(motivation.spec()));
334 // For a given motivation, an
268 FindSerializationMotivation( const GURL& motivation, const base::ListValue* referral_list) argument
286 FindSerializationMotivation( const GURL& motivation, base::ListValue* referral_list) argument
338 GetDataFromSerialization(const GURL& motivation, const GURL& subresource, const base::ListValue& referral_list, double* use_rate) argument
[all...]
H A Durl_info.cc112 void UrlInfo::SetQueuedState(ResolutionMotivation motivation) { argument
117 SetMotivation(motivation);
336 void UrlInfo::SetMotivation(ResolutionMotivation motivation) { argument
337 motivation_ = motivation;
338 if (motivation < LINKED_MAX_MOTIVATED)
H A Dpredictor.cc243 UrlInfo::ResolutionMotivation motivation(UrlInfo::OMNIBOX_MOTIVATED);
278 CanonicalizeUrl(url), GURL(), motivation, kConnectionsNeeded); local
302 CanonicalizeUrl(url), motivation));
315 UrlInfo::ResolutionMotivation motivation(UrlInfo::EARLY_LOAD_MOTIVATED);
318 motivation, kConnectionsNeeded); local
449 UrlInfo::ResolutionMotivation motivation) {
453 AppendToResolutionQueue(*it, motivation);
460 UrlInfo::ResolutionMotivation motivation) {
464 AppendToResolutionQueue(url, motivation);
751 UrlInfo::ResolutionMotivation motivation) {
448 ResolveList(const UrlList& urls, UrlInfo::ResolutionMotivation motivation) argument
459 Resolve(const GURL& url, UrlInfo::ResolutionMotivation motivation) argument
749 DnsPrefetchMotivatedList( const UrlList& urls, UrlInfo::ResolutionMotivation motivation) argument
845 PreconnectUrl(const GURL& url, const GURL& first_party_for_cookies, UrlInfo::ResolutionMotivation motivation, int count) argument
864 PreconnectUrlOnIOThread( const GURL& original_url, const GURL& first_party_for_cookies, UrlInfo::ResolutionMotivation motivation, int count) argument
908 AdviseProxy(const GURL& url, UrlInfo::ResolutionMotivation motivation, bool is_preconnect) argument
978 const UrlInfo::ResolutionMotivation motivation = local
1036 AppendToResolutionQueue( const GURL& url, UrlInfo::ResolutionMotivation motivation) argument
1169 AdviseProxyOnIOThread(const GURL& url, UrlInfo::ResolutionMotivation motivation, bool is_preconnect) argument
1204 Push(const GURL& url, UrlInfo::ResolutionMotivation motivation) argument
[all...]
/external/chromium_org/chrome/browser/net/spdyproxy/
H A Dproxy_advisor.cc49 chrome_browser_net::UrlInfo::ResolutionMotivation motivation,
51 switch (motivation) {
115 chrome_browser_net::UrlInfo::ResolutionMotivation motivation,
122 std::string motivation_name(MotivationName(motivation, is_preconnect));
48 MotivationName( chrome_browser_net::UrlInfo::ResolutionMotivation motivation, bool is_preconnect) argument
113 Advise( const GURL& url, chrome_browser_net::UrlInfo::ResolutionMotivation motivation, bool is_preconnect) argument

Completed in 117 milliseconds