request_priority.h revision 5821806d5e7f356e8fa4b058a389a808ea183019
1// Copyright (c) 2012 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef NET_BASE_REQUEST_PRIORITY_H__
6#define NET_BASE_REQUEST_PRIORITY_H__
7
8namespace net {
9
10// Prioritization used in various parts of the networking code such
11// as connection prioritization and resource loading prioritization.
12enum RequestPriority {
13  MINIMUM_PRIORITY = 0,
14  IDLE = 0,
15  LOWEST,
16  LOW,
17  MEDIUM,
18  HIGHEST,
19  NUM_PRIORITIES,
20};
21
22}  // namespace net
23
24#endif  // NET_BASE_REQUEST_PRIORITY_H__
25