HomeSort by relevance Sort by last modified time
    Searched refs:motivation (Results 1 - 12 of 12) sorted by null

  /external/chromium/chrome/browser/net/
preconnect.h 22 UrlInfo::ResolutionMotivation motivation,
29 UrlInfo::ResolutionMotivation motivation,
preconnect.cc 24 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;
predictor.cc 132 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
    [all...]
predictor.h 74 UrlInfo::ResolutionMotivation motivation);
76 UrlInfo::ResolutionMotivation motivation);
153 // Some names that are queued up have |motivation| that requires very rapid
157 // clicking on a link. By tagging (with a motivation) each push we make into
165 UrlInfo::ResolutionMotivation motivation);
243 UrlInfo::ResolutionMotivation motivation);
url_info.h 39 LINKED_MAX_MOTIVATED, // enum demarkation above motivation from links.
93 void SetQueuedState(ResolutionMotivation motivation);
149 void SetMotivation(ResolutionMotivation motivation);
176 // Motivation for creation of this instance.
179 // Record if the motivation for prefetching was ever a page-link-scan.
url_info.cc 93 void UrlInfo::SetQueuedState(ResolutionMotivation motivation) {
98 SetMotivation(motivation);
281 "<th>Motivation</th>"
286 "<td>%s</td>" // Motivation.
315 void UrlInfo::SetMotivation(ResolutionMotivation motivation) {
316 motivation_ = motivation;
317 if (motivation < LINKED_MAX_MOTIVATED)
predictor_unittest.cc 267 const GURL& motivation, const ListValue& referral_list) {
277 if (motivation == GURL(existing_spec))
293 static void AddToSerializedList(const GURL& motivation,
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,
333 ListValue* motivation_list = FindSerializationMotivation(motivation,
    [all...]
predictor_api.cc 41 UrlInfo::ResolutionMotivation motivation);
177 UrlInfo::ResolutionMotivation motivation) {
184 g_predictor->ResolveList(urls, motivation);
190 &Predictor::ResolveList, urls, motivation));
  /external/chromium/net/http/
http_request_info.cc 12 motivation(NORMAL_MOTIVATION),
http_request_info.h 23 NORMAL_MOTIVATION, // No special motivation associated with the request.
53 // The motivation behind this request.
54 RequestMotivation motivation; member in struct:net::HttpRequestInfo
http_stream_factory_impl_job.cc 722 // We only set the socket motivation if we're the first to use
840 if (request_info_.motivation == HttpRequestInfo::PRECONNECT_MOTIVATED)
842 else if (request_info_.motivation == HttpRequestInfo::OMNIBOX_MOTIVATED)
    [all...]
http_network_transaction_unittest.cc     [all...]

Completed in 77 milliseconds