1 // Copyright 2014 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 // This file intentionally does not have header guards, it's included 6 // inside a macro to generate enum values. 7 #ifndef DEFINE_REQUEST_PRIORITY 8 #error "DEFINE_REQUEST_PRIORITY should be defined before including this file" 9 #endif 10 DEFINE_REQUEST_PRIORITY(IDLE, 0) 11 DEFINE_REQUEST_PRIORITY(LOWEST, 1) 12 DEFINE_REQUEST_PRIORITY(LOW, 2) 13 DEFINE_REQUEST_PRIORITY(MEDIUM, 3) 14 DEFINE_REQUEST_PRIORITY(HIGHEST, 4) 15