Chromium Code Reviews| Index: extensions/browser/notification_types.h |
| diff --git a/extensions/browser/notification_types.h b/extensions/browser/notification_types.h |
| index d0b2c56caad833426630ed12bb6604761fa53f04..58e4cc6702d1210891b3c3bae5f81f40cc6a614e 100644 |
| --- a/extensions/browser/notification_types.h |
| +++ b/extensions/browser/notification_types.h |
| @@ -7,12 +7,17 @@ |
| #include "content/public/browser/notification_types.h" |
| +#if !defined(ENABLE_EXTENSIONS) |
| +#error "Extensions must be enabled" |
| +#endif |
| + |
| namespace extensions { |
| // Only notifications fired by the extensions module should be here. The |
| // extensions module should not listen to notifications fired by the |
| // embedder. |
| enum NotificationType { |
| + // WARNING: Do not change this. |
|
Yoyo Zhou
2014/10/16 22:18:52
This is unnecessarily ominous. Why not point to th
Lei Zhang
2014/10/17 02:05:56
Sure. Done.
|
| NOTIFICATION_EXTENSIONS_START = content::NOTIFICATION_CONTENT_END, |
| // Sent when a CrxInstaller finishes. Source is the CrxInstaller that |