| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "content/common/content_notification_types.h" | 9 #include "content/common/content_notification_types.h" |
| 10 | 10 |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 // installed extensions. The source is a Profile, and there are no details. | 508 // installed extensions. The source is a Profile, and there are no details. |
| 509 // NOTE: It's possible that there are extension updates still being | 509 // NOTE: It's possible that there are extension updates still being |
| 510 // installed by the extension service at the time this notification fires. | 510 // installed by the extension service at the time this notification fires. |
| 511 NOTIFICATION_EXTENSION_UPDATING_FINISHED, | 511 NOTIFICATION_EXTENSION_UPDATING_FINISHED, |
| 512 | 512 |
| 513 // The extension updater found an update and will attempt to download and | 513 // The extension updater found an update and will attempt to download and |
| 514 // install it. The source is a Profile, and the details are an extension id | 514 // install it. The source is a Profile, and the details are an extension id |
| 515 // (const std::string). | 515 // (const std::string). |
| 516 NOTIFICATION_EXTENSION_UPDATE_FOUND, | 516 NOTIFICATION_EXTENSION_UPDATE_FOUND, |
| 517 | 517 |
| 518 // Sent when one or more extensions changed their warning status (like |
| 519 // slowing down Chrome or conflicting with each other). |
| 520 // The source is a Profile. |
| 521 NOTIFICATION_EXTENSION_WARNING_CHANGED, |
| 522 |
| 518 // An installed app changed notification state (added or removed | 523 // An installed app changed notification state (added or removed |
| 519 // notifications). The source is a Profile, and the details are a string | 524 // notifications). The source is a Profile, and the details are a string |
| 520 // with the extension id of the app. | 525 // with the extension id of the app. |
| 521 NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, | 526 NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, |
| 522 | 527 |
| 523 // Component Updater ------------------------------------------------------- | 528 // Component Updater ------------------------------------------------------- |
| 524 | 529 |
| 525 // Sent when the component updater starts doing update checks. If no | 530 // Sent when the component updater starts doing update checks. If no |
| 526 // component has been registered for update this notification is not | 531 // component has been registered for update this notification is not |
| 527 // generated. The source is the component updater itself and there are | 532 // generated. The source is the component updater itself and there are |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 933 // Currently only Content and Chrome define and use notifications. | 938 // Currently only Content and Chrome define and use notifications. |
| 934 // Custom notifications not belonging to Content and Chrome should start | 939 // Custom notifications not belonging to Content and Chrome should start |
| 935 // from here. | 940 // from here. |
| 936 NOTIFICATION_CHROME_END, | 941 NOTIFICATION_CHROME_END, |
| 937 }; | 942 }; |
| 938 | 943 |
| 939 } // namespace chrome | 944 } // namespace chrome |
| 940 | 945 |
| 941 | 946 |
| 942 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 947 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |