Chromium Code Reviews| 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 caused runtime warnings like slowing down | |
| 524 // Chrome or conflicting with each other. The source is a Profile. | |
| 525 NOTIFICATION_EXTENSION_WARNING, | |
|
Matt Perry
2011/10/06 22:55:54
This should really be called NOTIFICATION_EXTENSIO
battre
2011/10/07 14:09:24
Done.
I have changed the label and the comment. I
| |
| 526 | |
| 523 // An installed app changed notification state (added or removed | 527 // An installed app changed notification state (added or removed |
| 524 // notifications). The source is a Profile, and the details are a string | 528 // notifications). The source is a Profile, and the details are a string |
| 525 // with the extension id of the app. | 529 // with the extension id of the app. |
| 526 NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, | 530 NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, |
| 527 | 531 |
| 528 // Component Updater ------------------------------------------------------- | 532 // Component Updater ------------------------------------------------------- |
| 529 | 533 |
| 530 // Sent when the component updater starts doing update checks. If no | 534 // Sent when the component updater starts doing update checks. If no |
| 531 // component has been registered for update this notification is not | 535 // component has been registered for update this notification is not |
| 532 // generated. The source is the component updater itself and there are | 536 // 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. | 928 // Currently only Content and Chrome define and use notifications. |
| 925 // Custom notifications not belonging to Content and Chrome should start | 929 // Custom notifications not belonging to Content and Chrome should start |
| 926 // from here. | 930 // from here. |
| 927 NOTIFICATION_CHROME_END, | 931 NOTIFICATION_CHROME_END, |
| 928 }; | 932 }; |
| 929 | 933 |
| 930 } // namespace chrome | 934 } // namespace chrome |
| 931 | 935 |
| 932 | 936 |
| 933 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 937 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |