diff options
Diffstat (limited to 'net/base/request_priority.h')
-rw-r--r-- | net/base/request_priority.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net/base/request_priority.h b/net/base/request_priority.h new file mode 100644 index 0000000..b618ef2 --- /dev/null +++ b/net/base/request_priority.h @@ -0,0 +1,22 @@ +// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef NET_BASE_REQUEST_PRIORITY_H__ +#define NET_BASE_REQUEST_PRIORITY_H__ + +namespace net { + +// Prioritization used in various parts of the networking code such +// as connection prioritization and resource loading prioritization. +enum RequestPriority { + HIGHEST = 0, // 0 must be the highest priority. + MEDIUM, + LOW, + LOWEST +}; + +} // namespace net + +#endif // NET_BASE_REQUEST_PRIORITY_H__ + |