OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
10 | 10 |
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
662 // Sent when the extension updater starts checking for updates to installed | 662 // Sent when the extension updater starts checking for updates to installed |
663 // extensions. The source is a Profile, and there are no details. | 663 // extensions. The source is a Profile, and there are no details. |
664 NOTIFICATION_EXTENSION_UPDATING_STARTED, | 664 NOTIFICATION_EXTENSION_UPDATING_STARTED, |
665 | 665 |
666 // The extension updater found an update and will attempt to download and | 666 // The extension updater found an update and will attempt to download and |
667 // install it. The source is a Profile, and the details are an | 667 // install it. The source is a Profile, and the details are an |
668 // extensions::UpdateDetails object with the extension id and version of the | 668 // extensions::UpdateDetails object with the extension id and version of the |
669 // found update. | 669 // found update. |
670 NOTIFICATION_EXTENSION_UPDATE_FOUND, | 670 NOTIFICATION_EXTENSION_UPDATE_FOUND, |
671 | 671 |
672 // An installed app changed notification state (added or removed | |
673 // notifications). The source is a Profile, and the details are a string | |
674 // with the extension id of the app. | |
675 NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, | |
676 | |
677 // Finished loading app notification manager. | |
678 // The source is AppNotificationManager, and the details are NoDetails. | |
679 NOTIFICATION_APP_NOTIFICATION_MANAGER_LOADED, | |
680 | |
681 // Component Updater ------------------------------------------------------- | 672 // Component Updater ------------------------------------------------------- |
682 | 673 |
683 // Sent when the component updater starts doing update checks. If no | 674 // Sent when the component updater starts doing update checks. If no |
684 // component has been registered for update this notification is not | 675 // component has been registered for update this notification is not |
685 // generated. The source is the component updater itself and there are | 676 // generated. The source is the component updater itself and there are |
686 // no details. | 677 // no details. |
687 NOTIFICATION_COMPONENT_UPDATER_STARTED, | 678 NOTIFICATION_COMPONENT_UPDATER_STARTED, |
688 | 679 |
689 // Sent when the component updater is going to take a long nap. The | 680 // Sent when the component updater is going to take a long nap. The |
690 // source is the component updater itself and there are no details. | 681 // source is the component updater itself and there are no details. |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1257 // Note:- | 1248 // Note:- |
1258 // Currently only Content and Chrome define and use notifications. | 1249 // Currently only Content and Chrome define and use notifications. |
1259 // Custom notifications not belonging to Content and Chrome should start | 1250 // Custom notifications not belonging to Content and Chrome should start |
1260 // from here. | 1251 // from here. |
1261 NOTIFICATION_CHROME_END, | 1252 NOTIFICATION_CHROME_END, |
1262 }; | 1253 }; |
1263 | 1254 |
1264 } // namespace chrome | 1255 } // namespace chrome |
1265 | 1256 |
1266 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1257 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |