| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_NOTIFICATION_TYPE_H_ | 5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ | 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| 7 | 7 |
| 8 // This file describes various types used to describe and filter notifications | 8 // This file describes various types used to describe and filter notifications |
| 9 // that pass through the NotificationService. | 9 // that pass through the NotificationService. |
| 10 // | 10 // |
| (...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 EXTENSION_INSTALLED, | 586 EXTENSION_INSTALLED, |
| 587 | 587 |
| 588 // Sent when an extension is unloaded. This happens when an extension is | 588 // Sent when an extension is unloaded. This happens when an extension is |
| 589 // uninstalled. When we add a disable feature, it will also happen then. | 589 // uninstalled. When we add a disable feature, it will also happen then. |
| 590 // The details are an Extension. Note that when this notification is sent, | 590 // The details are an Extension. Note that when this notification is sent, |
| 591 // ExtensionsService has already removed the extension from its internal | 591 // ExtensionsService has already removed the extension from its internal |
| 592 // state. | 592 // state. |
| 593 EXTENSION_UNLOADED, | 593 EXTENSION_UNLOADED, |
| 594 | 594 |
| 595 // Sent after a new ExtensionHost is created. The details are | 595 // Sent after a new ExtensionHost is created. The details are |
| 596 // an ExtensionHost*. | 596 // an ExtensionHost* and the source is an ExtensionProcessManager*. |
| 597 EXTENSION_HOST_CREATED, | 597 EXTENSION_HOST_CREATED, |
| 598 | 598 |
| 599 // Sent before an ExtensionHost is destroyed. The details are | 599 // Sent before an ExtensionHost is destroyed. The details are |
| 600 // an ExtensionHost*. | 600 // an ExtensionHost* and the source is a Profile*. |
| 601 EXTENSION_HOST_DESTROYED, | 601 EXTENSION_HOST_DESTROYED, |
| 602 | 602 |
| 603 // Sent after an extension render process is created and fully functional. | 603 // Sent after an extension render process is created and fully functional. |
| 604 // The details are an ExtensionHost*. | 604 // The details are an ExtensionHost*. |
| 605 EXTENSION_PROCESS_CREATED, | 605 EXTENSION_PROCESS_CREATED, |
| 606 | 606 |
| 607 // Sent when extension render process crashes. The details are | 607 // Sent when extension render process crashes. The details are |
| 608 // an ExtensionHost*. | 608 // an ExtensionHost*. |
| 609 EXTENSION_PROCESS_CRASHED, | 609 EXTENSION_PROCESS_CRASHED, |
| 610 | 610 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 632 }; | 632 }; |
| 633 | 633 |
| 634 inline bool operator==(NotificationType::Type a, NotificationType b) { | 634 inline bool operator==(NotificationType::Type a, NotificationType b) { |
| 635 return a == b.value; | 635 return a == b.value; |
| 636 } | 636 } |
| 637 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 637 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
| 638 return a != b.value; | 638 return a != b.value; |
| 639 } | 639 } |
| 640 | 640 |
| 641 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 641 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |