| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 // Sent when WM_ENDSESSION has been received, after the browsers have been | 610 // Sent when WM_ENDSESSION has been received, after the browsers have been |
| 611 // closed but before browser process has been shutdown. The source/details | 611 // closed but before browser process has been shutdown. The source/details |
| 612 // are all source and no details. | 612 // are all source and no details. |
| 613 SESSION_END, | 613 SESSION_END, |
| 614 | 614 |
| 615 // Personalization --------------------------------------------------------- | 615 // Personalization --------------------------------------------------------- |
| 616 | 616 |
| 617 PERSONALIZATION, | 617 PERSONALIZATION, |
| 618 PERSONALIZATION_CREATED, | 618 PERSONALIZATION_CREATED, |
| 619 | 619 |
| 620 // Privacy blacklists ------------------------------------------------------ |
| 621 |
| 622 // Sent when a privacy blacklist path provider changes the list of its |
| 623 // blacklist paths (like adds/removes items). The details are |
| 624 // a BlacklistPathProvider, and the source is a Profile. |
| 625 PRIVACY_BLACKLIST_PATH_PROVIDER_UPDATED, |
| 626 |
| 620 // User Scripts ------------------------------------------------------------ | 627 // User Scripts ------------------------------------------------------------ |
| 621 | 628 |
| 622 // Sent when there are new user scripts available. The details are a | 629 // Sent when there are new user scripts available. The details are a |
| 623 // pointer to SharedMemory containing the new scripts. | 630 // pointer to SharedMemory containing the new scripts. |
| 624 USER_SCRIPTS_UPDATED, | 631 USER_SCRIPTS_UPDATED, |
| 625 | 632 |
| 626 // Extensions -------------------------------------------------------------- | 633 // Extensions -------------------------------------------------------------- |
| 627 | 634 |
| 628 // Sent when the known installed extensions have all been loaded. In | 635 // Sent when the known installed extensions have all been loaded. In |
| 629 // testing scenarios this can happen multiple times if extensions are | 636 // testing scenarios this can happen multiple times if extensions are |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 728 }; | 735 }; |
| 729 | 736 |
| 730 inline bool operator==(NotificationType::Type a, NotificationType b) { | 737 inline bool operator==(NotificationType::Type a, NotificationType b) { |
| 731 return a == b.value; | 738 return a == b.value; |
| 732 } | 739 } |
| 733 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 740 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
| 734 return a != b.value; | 741 return a != b.value; |
| 735 } | 742 } |
| 736 | 743 |
| 737 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 744 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |