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 3 // found in the LICENSE file. 4 5 #ifndef NET_BASE_REQUEST_PRIORITY_H__ 6 #define NET_BASE_REQUEST_PRIORITY_H__ 7 8 namespace net { 9 10 // Prioritization used in various parts of the networking code such 11 // as connection prioritization and resource loading prioritization. 12 enum RequestPriority { 13 HIGHEST = 0, // 0 must be the highest priority. 14 MEDIUM, 15 LOW, 16 LOWEST, 17 NUM_PRIORITIES, 18 }; 19 20 } // namespace net 21 22 #endif // NET_BASE_REQUEST_PRIORITY_H__ 23 24