OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_LOAD_FLAGS_H_ | 5 #ifndef NET_BASE_LOAD_FLAGS_H_ |
6 #define NET_BASE_LOAD_FLAGS_H_ | 6 #define NET_BASE_LOAD_FLAGS_H_ |
7 | 7 |
8 namespace net { | 8 namespace net { |
9 | 9 |
10 // These flags provide metadata about the type of the load request. They are | 10 // These flags provide metadata about the type of the load request. They are |
11 // intended to be OR'd together. | 11 // intended to be OR'd together. |
12 enum { | 12 enum { |
13 | 13 |
14 #define LOAD_FLAG(label, value) LOAD_ ## label = value, | 14 #define LOAD_FLAG(label, value) LOAD_##label = value, |
15 #include "net/base/load_flags_list.h" | 15 #include "net/base/load_flags_list.h" |
16 #undef LOAD_FLAG | 16 #undef LOAD_FLAG |
17 | |
18 }; | 17 }; |
19 | 18 |
20 } // namespace net | 19 } // namespace net |
21 | 20 |
22 #endif // NET_BASE_LOAD_FLAGS_H_ | 21 #endif // NET_BASE_LOAD_FLAGS_H_ |
OLD | NEW |