Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Side by Side Diff: net/base/request_priority.h

Issue 3050016: Implement prefetching in chrome (Closed)
Patch Set: merge to trunk Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/base/host_resolver_impl.cc ('k') | net/http/http_network_transaction.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_BASE_REQUEST_PRIORITY_H__ 5 #ifndef NET_BASE_REQUEST_PRIORITY_H__
6 #define NET_BASE_REQUEST_PRIORITY_H__ 6 #define NET_BASE_REQUEST_PRIORITY_H__
7 #pragma once 7 #pragma once
8 8
9 namespace net { 9 namespace net {
10 10
11 // Prioritization used in various parts of the networking code such 11 // Prioritization used in various parts of the networking code such
12 // as connection prioritization and resource loading prioritization. 12 // as connection prioritization and resource loading prioritization.
13 enum RequestPriority { 13 enum RequestPriority {
14 HIGHEST = 0, // 0 must be the highest priority. 14 HIGHEST = 0, // 0 must be the highest priority.
15 MEDIUM, 15 MEDIUM,
16 LOW, 16 LOW,
17 LOWEST, 17 LOWEST,
18 IDLE,
18 NUM_PRIORITIES, 19 NUM_PRIORITIES,
19 }; 20 };
20 21
21 } // namespace net 22 } // namespace net
22 23
23 #endif // NET_BASE_REQUEST_PRIORITY_H__ 24 #endif // NET_BASE_REQUEST_PRIORITY_H__
24
OLDNEW
« no previous file with comments | « net/base/host_resolver_impl.cc ('k') | net/http/http_network_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698