Home
last modified time | relevance | path

Searched refs:motivation (Results 1 – 25 of 49) sorted by relevance

12

/external/chromium/chrome/browser/net/
Dpreconnect.cc24 UrlInfo::ResolutionMotivation motivation, in PreconnectOnUIThread() argument
30 NewRunnableFunction(PreconnectOnIOThread, url, motivation, in PreconnectOnUIThread()
38 UrlInfo::ResolutionMotivation motivation, in PreconnectOnIOThread() argument
49 UMA_HISTOGRAM_ENUMERATION("Net.PreconnectMotivation", motivation, in PreconnectOnIOThread()
76 switch (motivation) { in PreconnectOnIOThread()
78 request_info.motivation = net::HttpRequestInfo::OMNIBOX_MOTIVATED; in PreconnectOnIOThread()
81 request_info.motivation = net::HttpRequestInfo::PRECONNECT_MOTIVATED; in PreconnectOnIOThread()
85 request_info.motivation = net::HttpRequestInfo::EARLY_LOAD_MOTIVATED; in PreconnectOnIOThread()
Dpredictor.cc132 UrlInfo::ResolutionMotivation motivation) { in ResolveList() argument
136 AppendToResolutionQueue(*it, motivation); in ResolveList()
143 UrlInfo::ResolutionMotivation motivation) { in Resolve() argument
147 AppendToResolutionQueue(url, motivation); in Resolve()
174 UrlInfo::ResolutionMotivation motivation(UrlInfo::OMNIBOX_MOTIVATED); in AnticipateOmniboxUrl() local
207 PreconnectOnUIThread(CanonicalizeUrl(url), motivation, in AnticipateOmniboxUrl()
233 motivation)); in AnticipateOmniboxUrl()
239 UrlInfo::ResolutionMotivation motivation(UrlInfo::EARLY_LOAD_MOTIVATED); in PreconnectUrlAndSubresources() local
241 PreconnectOnUIThread(CanonicalizeUrl(url), motivation, in PreconnectUrlAndSubresources()
275 const UrlInfo::ResolutionMotivation motivation = in PrepareFrameSubresources() local
[all …]
Dpreconnect.h22 UrlInfo::ResolutionMotivation motivation,
29 UrlInfo::ResolutionMotivation motivation,
Dpredictor.h74 UrlInfo::ResolutionMotivation motivation);
76 UrlInfo::ResolutionMotivation motivation);
165 UrlInfo::ResolutionMotivation motivation);
243 UrlInfo::ResolutionMotivation motivation);
Durl_info.cc93 void UrlInfo::SetQueuedState(ResolutionMotivation motivation) { in SetQueuedState() argument
98 SetMotivation(motivation); in SetQueuedState()
315 void UrlInfo::SetMotivation(ResolutionMotivation motivation) { in SetMotivation() argument
316 motivation_ = motivation; in SetMotivation()
317 if (motivation < LINKED_MAX_MOTIVATED) in SetMotivation()
Durl_info.h93 void SetQueuedState(ResolutionMotivation motivation);
149 void SetMotivation(ResolutionMotivation motivation);
Dpredictor_unittest.cc267 const GURL& motivation, const ListValue& referral_list) { in FindSerializationMotivation() argument
277 if (motivation == GURL(existing_spec)) in FindSerializationMotivation()
293 static void AddToSerializedList(const GURL& motivation, in AddToSerializedList() argument
298 ListValue* motivation_list = FindSerializationMotivation(motivation, in AddToSerializedList()
303 motivation_list->Append(new StringValue(motivation.spec())); in AddToSerializedList()
329 static bool GetDataFromSerialization(const GURL& motivation, in GetDataFromSerialization() argument
333 ListValue* motivation_list = FindSerializationMotivation(motivation, in GetDataFromSerialization()
Dpredictor_api.cc41 UrlInfo::ResolutionMotivation motivation);
177 UrlInfo::ResolutionMotivation motivation) { in DnsPrefetchMotivatedList() argument
184 g_predictor->ResolveList(urls, motivation); in DnsPrefetchMotivatedList()
190 &Predictor::ResolveList, urls, motivation)); in DnsPrefetchMotivatedList()
/external/chromium_org/chrome/browser/net/
Dpreconnect.cc27 UrlInfo::ResolutionMotivation motivation, in PreconnectOnUIThread() argument
35 motivation, count, make_scoped_refptr(getter))); in PreconnectOnUIThread()
43 UrlInfo::ResolutionMotivation motivation, in PreconnectOnIOThread() argument
53 UMA_HISTOGRAM_ENUMERATION("Net.PreconnectMotivation", motivation, in PreconnectOnIOThread()
85 switch (motivation) { in PreconnectOnIOThread()
87 request_info.motivation = net::HttpRequestInfo::OMNIBOX_MOTIVATED; in PreconnectOnIOThread()
90 request_info.motivation = net::HttpRequestInfo::PRECONNECT_MOTIVATED; in PreconnectOnIOThread()
95 request_info.motivation = net::HttpRequestInfo::EARLY_LOAD_MOTIVATED; in PreconnectOnIOThread()
Dpredictor.cc359 UrlInfo::ResolutionMotivation motivation(UrlInfo::OMNIBOX_MOTIVATED); in AnticipateOmniboxUrl() local
393 PreconnectUrl(CanonicalizeUrl(url), GURL(), motivation, in AnticipateOmniboxUrl()
418 CanonicalizeUrl(url), motivation)); in AnticipateOmniboxUrl()
429 UrlInfo::ResolutionMotivation motivation(UrlInfo::EARLY_LOAD_MOTIVATED); in PreconnectUrlAndSubresources() local
432 motivation, kConnectionsNeeded); in PreconnectUrlAndSubresources()
563 UrlInfo::ResolutionMotivation motivation) { in ResolveList() argument
567 AppendToResolutionQueue(*it, motivation); in ResolveList()
574 UrlInfo::ResolutionMotivation motivation) { in Resolve() argument
578 AppendToResolutionQueue(url, motivation); in Resolve()
858 UrlInfo::ResolutionMotivation motivation) { in DnsPrefetchMotivatedList() argument
[all …]
Dpredictor.h157 UrlInfo::ResolutionMotivation motivation);
159 void Resolve(const GURL& url, UrlInfo::ResolutionMotivation motivation);
215 UrlInfo::ResolutionMotivation motivation);
235 UrlInfo::ResolutionMotivation motivation, int count);
239 UrlInfo::ResolutionMotivation motivation,
323 UrlInfo::ResolutionMotivation motivation);
420 UrlInfo::ResolutionMotivation motivation,
443 UrlInfo::ResolutionMotivation motivation);
481 UrlInfo::ResolutionMotivation motivation,
Dpreconnect.h26 UrlInfo::ResolutionMotivation motivation,
35 UrlInfo::ResolutionMotivation motivation,
Durl_info.cc112 void UrlInfo::SetQueuedState(ResolutionMotivation motivation) { in SetQueuedState() argument
117 SetMotivation(motivation); in SetQueuedState()
334 void UrlInfo::SetMotivation(ResolutionMotivation motivation) { in SetMotivation() argument
335 motivation_ = motivation; in SetMotivation()
336 if (motivation < LINKED_MAX_MOTIVATED) in SetMotivation()
Dpredictor_unittest.cc268 const GURL& motivation, in FindSerializationMotivation() argument
279 if (motivation == GURL(existing_spec)) in FindSerializationMotivation()
285 static ListValue* FindSerializationMotivation(const GURL& motivation, in FindSerializationMotivation() argument
288 motivation, static_cast<const ListValue*>(referral_list))); in FindSerializationMotivation()
302 static void AddToSerializedList(const GURL& motivation, in AddToSerializedList() argument
307 ListValue* motivation_list = FindSerializationMotivation(motivation, in AddToSerializedList()
312 motivation_list->Append(new StringValue(motivation.spec())); in AddToSerializedList()
336 static bool GetDataFromSerialization(const GURL& motivation, in GetDataFromSerialization() argument
341 FindSerializationMotivation(motivation, &referral_list); in GetDataFromSerialization()
714 UrlInfo::ResolutionMotivation motivation, in Advise() argument
Durl_info.h90 void SetQueuedState(ResolutionMotivation motivation);
146 void SetMotivation(ResolutionMotivation motivation);
/external/chromium_org/chrome/renderer/net/
Dprescient_networking_dispatcher.cc27 blink::WebPreconnectMotivation motivation) { in isPreconnectEnabledForMotivation() argument
31 switch (motivation) { in isPreconnectEnabledForMotivation()
64 blink::WebPreconnectMotivation motivation) { in preconnect() argument
65 if (isPreconnectEnabledForMotivation(motivation)) in preconnect()
Dprescient_networking_dispatcher.h20 blink::WebPreconnectMotivation motivation) OVERRIDE;
/external/chromium_org/chrome/browser/net/spdyproxy/
Dproxy_advisor.cc45 chrome_browser_net::UrlInfo::ResolutionMotivation motivation, in MotivationName() argument
47 switch (motivation) { in MotivationName()
109 chrome_browser_net::UrlInfo::ResolutionMotivation motivation, in Advise() argument
116 std::string motivation_name(MotivationName(motivation, is_preconnect)); in Advise()
Dproxy_advisor.h61 chrome_browser_net::UrlInfo::ResolutionMotivation motivation,
/external/chromium/net/http/
Dhttp_request_info.cc12 motivation(NORMAL_MOTIVATION), in HttpRequestInfo()
Dhttp_request_info.h54 RequestMotivation motivation; member
/external/chromium_org/net/http/
Dhttp_request_info.cc12 motivation(NORMAL_MOTIVATION), in HttpRequestInfo()
Dhttp_request_info.h50 RequestMotivation motivation; member
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLAnchorElement.cpp62 void preconnectToURL(const KURL& url, blink::WebPreconnectMotivation motivation) in preconnectToURL() argument
68 prescientNetworking->preconnect(url, motivation); in preconnectToURL()
681 void HTMLAnchorElement::PrefetchEventHandler::prefetch(blink::WebPreconnectMotivation motivation) in prefetch() argument
689 if (motivation == blink::WebPreconnectMotivationLinkMouseOver) in prefetch()
692 preconnectToURL(url, motivation); in prefetch()
/external/harfbuzz_ng/src/hb-ucdn/
DREADME20 and a CMake build script is provided for this. The first motivation

12