summaryrefslogtreecommitdiffstats
path: root/net/http/http_request_info.h
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-30 00:21:26 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-30 00:21:26 +0000
commitdf0f70c0ad5d48b173827a6e8bec72b4f856954a (patch)
treeeffb2d710d39924de1753c37df1a7a363e179c13 /net/http/http_request_info.h
parent5e943817161fbc16c4f8d2e4694aba6f02da1d0b (diff)
downloadchromium_src-df0f70c0ad5d48b173827a6e8bec72b4f856954a.zip
chromium_src-df0f70c0ad5d48b173827a6e8bec72b4f856954a.tar.gz
chromium_src-df0f70c0ad5d48b173827a6e8bec72b4f856954a.tar.bz2
Revert 67614 - Support predictive request for multiple preconnections
Connected up to the API for requesting more than one preconnect at a time (that API also explicitly tags requsets as preconnects, so that they can be merged with actual navication requests). BUG=64246 r=willchan,mbelshe Review URL: http://codereview.chromium.org/5271002 TBR=jar@chromium.org Review URL: http://codereview.chromium.org/5397003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67622 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_request_info.h')
-rw-r--r--net/http/http_request_info.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/net/http/http_request_info.h b/net/http/http_request_info.h
index 7c73aa6..f740d7c 100644
--- a/net/http/http_request_info.h
+++ b/net/http/http_request_info.h
@@ -18,12 +18,9 @@ namespace net {
struct HttpRequestInfo {
enum RequestMotivation{
// TODO(mbelshe): move these into Client Socket.
- PRECONNECT_MOTIVATED, // Request was motivated by a prefetch.
- OMNIBOX_MOTIVATED, // Request was motivated by the omnibox.
- NORMAL_MOTIVATION, // No special motivation associated with the request.
- EARLY_LOAD_MOTIVATED, // When browser asks a tab to open an URL, this short
- // circuits that path (of waiting for the renderer to
- // do the URL request), and starts loading ASAP.
+ PRECONNECT_MOTIVATED, // This request was motivated by a prefetch.
+ OMNIBOX_MOTIVATED, // This request was motivated by the omnibox.
+ NORMAL_MOTIVATION // No special motivation associated with the request.
};
HttpRequestInfo();