Chromium Code Reviews| Index: components/dom_distiller/core/theme_list.h |
| diff --git a/components/cronet/android/org_chromium_net_UrlRequest_priority_list.h b/components/dom_distiller/core/theme_list.h |
| similarity index 50% |
| copy from components/cronet/android/org_chromium_net_UrlRequest_priority_list.h |
| copy to components/dom_distiller/core/theme_list.h |
| index 5f310951b3dc466262175ad3e8d32035bc7fede9..45174984e6e7ebd432b0bd9b8cd8a1563d223c04 100644 |
| --- a/components/cronet/android/org_chromium_net_UrlRequest_priority_list.h |
| +++ b/components/dom_distiller/core/theme_list.h |
| @@ -4,11 +4,11 @@ |
| // This file intentionally does not have header guards, it's included |
| // inside a macro to generate enum values. |
| -#ifndef DEFINE_REQUEST_PRIORITY |
| -#error "DEFINE_REQUEST_PRIORITY should be defined before including this file" |
| + |
| +#ifndef DEFINE_THEME |
| +#error "DEFINE_THEME should be defined before including this file" |
| #endif |
| -DEFINE_REQUEST_PRIORITY(IDLE, 0) |
| -DEFINE_REQUEST_PRIORITY(LOWEST, 1) |
| -DEFINE_REQUEST_PRIORITY(LOW, 2) |
| -DEFINE_REQUEST_PRIORITY(MEDIUM, 3) |
| -DEFINE_REQUEST_PRIORITY(HIGHEST, 4) |
| + |
|
nyquist
2014/07/08 01:02:35
Could you add a comment here that explains what th
sunangel
2014/07/08 20:41:00
Done.
|
| +DEFINE_THEME(kLight, LIGHT, 0) |
| +DEFINE_THEME(kDark, DARK, 1) |
| +DEFINE_THEME(kSepia, SEPIA, 2) |