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 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 CONTENT_SETTINGS_CHANGED, | 883 CONTENT_SETTINGS_CHANGED, |
884 | 884 |
885 // Sync -------------------------------------------------------------------- | 885 // Sync -------------------------------------------------------------------- |
886 | 886 |
887 // Sent when the sync backend has been paused. | 887 // Sent when the sync backend has been paused. |
888 SYNC_PAUSED, | 888 SYNC_PAUSED, |
889 | 889 |
890 // Sent when the sync backend has been resumed. | 890 // Sent when the sync backend has been resumed. |
891 SYNC_RESUMED, | 891 SYNC_RESUMED, |
892 | 892 |
| 893 // The sync service has started the configuration process. |
| 894 SYNC_CONFIGURE_START, |
| 895 |
| 896 // The sync service is finished the configuration process. |
| 897 SYNC_CONFIGURE_DONE, |
| 898 |
893 #if defined(OS_CHROMEOS) | 899 #if defined(OS_CHROMEOS) |
894 // Sent when a chromium os user logs in. | 900 // Sent when a chromium os user logs in. |
895 LOGIN_USER_CHANGED, | 901 LOGIN_USER_CHANGED, |
896 | 902 |
897 // Sent when a chromium os user attempts to log in. The source is | 903 // Sent when a chromium os user attempts to log in. The source is |
898 // all and the details are AuthenticationNotificationDetails. | 904 // all and the details are AuthenticationNotificationDetails. |
899 LOGIN_AUTHENTICATION, | 905 LOGIN_AUTHENTICATION, |
900 #endif | 906 #endif |
901 | 907 |
902 // Sent before a page is reloaded or the repost form warning is brought up. | 908 // Sent before a page is reloaded or the repost form warning is brought up. |
(...skipping 20 matching lines...) Expand all Loading... |
923 }; | 929 }; |
924 | 930 |
925 inline bool operator==(NotificationType::Type a, NotificationType b) { | 931 inline bool operator==(NotificationType::Type a, NotificationType b) { |
926 return a == b.value; | 932 return a == b.value; |
927 } | 933 } |
928 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 934 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
929 return a != b.value; | 935 return a != b.value; |
930 } | 936 } |
931 | 937 |
932 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 938 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
OLD | NEW |