| 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 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 // Sent when the extension updater starts checking for updates to installed | 658 // Sent when the extension updater starts checking for updates to installed |
| 659 // extensions. The source is a Profile, and there are no details. | 659 // extensions. The source is a Profile, and there are no details. |
| 660 NOTIFICATION_EXTENSION_UPDATING_STARTED, | 660 NOTIFICATION_EXTENSION_UPDATING_STARTED, |
| 661 | 661 |
| 662 // The extension updater found an update and will attempt to download and | 662 // The extension updater found an update and will attempt to download and |
| 663 // install it. The source is a Profile, and the details are an | 663 // install it. The source is a Profile, and the details are an |
| 664 // extensions::UpdateDetails object with the extension id and version of the | 664 // extensions::UpdateDetails object with the extension id and version of the |
| 665 // found update. | 665 // found update. |
| 666 NOTIFICATION_EXTENSION_UPDATE_FOUND, | 666 NOTIFICATION_EXTENSION_UPDATE_FOUND, |
| 667 | 667 |
| 668 // An installed app changed notification state (added or removed | |
| 669 // notifications). The source is a Profile, and the details are a string | |
| 670 // with the extension id of the app. | |
| 671 NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, | |
| 672 | |
| 673 // Finished loading app notification manager. | |
| 674 // The source is AppNotificationManager, and the details are NoDetails. | |
| 675 NOTIFICATION_APP_NOTIFICATION_MANAGER_LOADED, | |
| 676 | |
| 677 // Component Updater ------------------------------------------------------- | 668 // Component Updater ------------------------------------------------------- |
| 678 | 669 |
| 679 // Sent when the component updater starts doing update checks. If no | 670 // Sent when the component updater starts doing update checks. If no |
| 680 // component has been registered for update this notification is not | 671 // component has been registered for update this notification is not |
| 681 // generated. The source is the component updater itself and there are | 672 // generated. The source is the component updater itself and there are |
| 682 // no details. | 673 // no details. |
| 683 NOTIFICATION_COMPONENT_UPDATER_STARTED, | 674 NOTIFICATION_COMPONENT_UPDATER_STARTED, |
| 684 | 675 |
| 685 // Sent when the component updater is going to take a long nap. The | 676 // Sent when the component updater is going to take a long nap. The |
| 686 // source is the component updater itself and there are no details. | 677 // source is the component updater itself and there are no details. |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1253 // Note:- | 1244 // Note:- |
| 1254 // Currently only Content and Chrome define and use notifications. | 1245 // Currently only Content and Chrome define and use notifications. |
| 1255 // Custom notifications not belonging to Content and Chrome should start | 1246 // Custom notifications not belonging to Content and Chrome should start |
| 1256 // from here. | 1247 // from here. |
| 1257 NOTIFICATION_CHROME_END, | 1248 NOTIFICATION_CHROME_END, |
| 1258 }; | 1249 }; |
| 1259 | 1250 |
| 1260 } // namespace chrome | 1251 } // namespace chrome |
| 1261 | 1252 |
| 1262 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1253 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |