| 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 CHROME_COMMON_NOTIFICATION_TYPE_H_ | 5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ | 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // This file describes various types used to describe and filter notifications | 9 // This file describes various types used to describe and filter notifications |
| 10 // that pass through the NotificationService. | 10 // that pass through the NotificationService. |
| (...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 860 EXTENSION_INSTALL_ERROR, | 860 EXTENSION_INSTALL_ERROR, |
| 861 | 861 |
| 862 // Sent when an extension has been uninstalled. The details are | 862 // Sent when an extension has been uninstalled. The details are |
| 863 // an UninstalledExtensionInfo struct and the source is a Profile. | 863 // an UninstalledExtensionInfo struct and the source is a Profile. |
| 864 EXTENSION_UNINSTALLED, | 864 EXTENSION_UNINSTALLED, |
| 865 | 865 |
| 866 // Sent when an extension is unloaded. This happens when an extension is | 866 // Sent when an extension is unloaded. This happens when an extension is |
| 867 // uninstalled or disabled. The details are an Extension, and the source is | 867 // uninstalled or disabled. The details are an Extension, and the source is |
| 868 // a Profile. | 868 // a Profile. |
| 869 // | 869 // |
| 870 // Note that when this notification is sent, ExtensionsService has already | 870 // Note that when this notification is sent, ExtensionService has already |
| 871 // removed the extension from its internal state. | 871 // removed the extension from its internal state. |
| 872 EXTENSION_UNLOADED, | 872 EXTENSION_UNLOADED, |
| 873 | 873 |
| 874 // Same as above, but for a disabled extension. | 874 // Same as above, but for a disabled extension. |
| 875 EXTENSION_UNLOADED_DISABLED, | 875 EXTENSION_UNLOADED_DISABLED, |
| 876 | 876 |
| 877 // Sent when an extension has updated its user scripts. The details are an | 877 // Sent when an extension has updated its user scripts. The details are an |
| 878 // Extension, and the source is a Profile. | 878 // Extension, and the source is a Profile. |
| 879 EXTENSION_USER_SCRIPTS_UPDATED, | 879 EXTENSION_USER_SCRIPTS_UPDATED, |
| 880 | 880 |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1335 }; | 1335 }; |
| 1336 | 1336 |
| 1337 inline bool operator==(NotificationType::Type a, NotificationType b) { | 1337 inline bool operator==(NotificationType::Type a, NotificationType b) { |
| 1338 return a == b.value; | 1338 return a == b.value; |
| 1339 } | 1339 } |
| 1340 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 1340 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
| 1341 return a != b.value; | 1341 return a != b.value; |
| 1342 } | 1342 } |
| 1343 | 1343 |
| 1344 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 1344 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |