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_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_BROWSER_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 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // Component Updater ------------------------------------------------------- | 672 // Component Updater ------------------------------------------------------- |
673 | 673 // |
| 674 // The component updater notifications are deprecated and they will be |
| 675 // removed soon. |
| 676 // |
674 // Sent when the component updater starts doing update checks. If no | 677 // Sent when the component updater starts doing update checks. If no |
675 // component has been registered for update this notification is not | 678 // component has been registered for update this notification is not |
676 // generated. The source is the component updater itself and there are | 679 // generated. The source is the component updater itself and there are |
677 // no details. | 680 // no details. |
678 NOTIFICATION_COMPONENT_UPDATER_STARTED, | 681 NOTIFICATION_COMPONENT_UPDATER_STARTED, |
679 | 682 |
680 // Sent when the component updater is going to take a long nap. The | 683 // Sent when the component updater is going to take a long nap. The |
681 // source is the component updater itself and there are no details. | 684 // source is the component updater itself and there are no details. |
682 NOTIFICATION_COMPONENT_UPDATER_SLEEPING, | 685 NOTIFICATION_COMPONENT_UPDATER_SLEEPING, |
683 | 686 |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1236 // Note:- | 1239 // Note:- |
1237 // Currently only Content and Chrome define and use notifications. | 1240 // Currently only Content and Chrome define and use notifications. |
1238 // Custom notifications not belonging to Content and Chrome should start | 1241 // Custom notifications not belonging to Content and Chrome should start |
1239 // from here. | 1242 // from here. |
1240 NOTIFICATION_CHROME_END, | 1243 NOTIFICATION_CHROME_END, |
1241 }; | 1244 }; |
1242 | 1245 |
1243 } // namespace chrome | 1246 } // namespace chrome |
1244 | 1247 |
1245 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 1248 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |