| 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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 // installed extensions. The source is a Profile, and there are no details. | 513 // installed extensions. The source is a Profile, and there are no details. |
| 514 // NOTE: It's possible that there are extension updates still being | 514 // NOTE: It's possible that there are extension updates still being |
| 515 // installed by the extension service at the time this notification fires. | 515 // installed by the extension service at the time this notification fires. |
| 516 NOTIFICATION_EXTENSION_UPDATING_FINISHED, | 516 NOTIFICATION_EXTENSION_UPDATING_FINISHED, |
| 517 | 517 |
| 518 // The extension updater found an update and will attempt to download and | 518 // The extension updater found an update and will attempt to download and |
| 519 // install it. The source is a Profile, and the details are an extension id | 519 // install it. The source is a Profile, and the details are an extension id |
| 520 // (const std::string). | 520 // (const std::string). |
| 521 NOTIFICATION_EXTENSION_UPDATE_FOUND, | 521 NOTIFICATION_EXTENSION_UPDATE_FOUND, |
| 522 | 522 |
| 523 // Sent when one or more extensions changed their warning status (like |
| 524 // slowing down Chrome or conflicting with each other). |
| 525 // The source is a Profile. |
| 526 NOTIFICATION_EXTENSION_WARNING_CHANGED, |
| 527 |
| 523 // An installed app changed notification state (added or removed | 528 // An installed app changed notification state (added or removed |
| 524 // notifications). The source is a Profile, and the details are a string | 529 // notifications). The source is a Profile, and the details are a string |
| 525 // with the extension id of the app. | 530 // with the extension id of the app. |
| 526 NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, | 531 NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, |
| 527 | 532 |
| 528 // Component Updater ------------------------------------------------------- | 533 // Component Updater ------------------------------------------------------- |
| 529 | 534 |
| 530 // Sent when the component updater starts doing update checks. If no | 535 // Sent when the component updater starts doing update checks. If no |
| 531 // component has been registered for update this notification is not | 536 // component has been registered for update this notification is not |
| 532 // generated. The source is the component updater itself and there are | 537 // generated. The source is the component updater itself and there are |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 924 // Currently only Content and Chrome define and use notifications. | 929 // Currently only Content and Chrome define and use notifications. |
| 925 // Custom notifications not belonging to Content and Chrome should start | 930 // Custom notifications not belonging to Content and Chrome should start |
| 926 // from here. | 931 // from here. |
| 927 NOTIFICATION_CHROME_END, | 932 NOTIFICATION_CHROME_END, |
| 928 }; | 933 }; |
| 929 | 934 |
| 930 } // namespace chrome | 935 } // namespace chrome |
| 931 | 936 |
| 932 | 937 |
| 933 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 938 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |