OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #include "content/public/browser/notification_types.h" | 8 #include "content/public/browser/notification_types.h" |
9 | 9 |
10 namespace chrome { | 10 namespace chrome { |
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
819 // map has changed. The source is the DesktopNotificationService, the | 819 // map has changed. The source is the DesktopNotificationService, the |
820 // details are None. | 820 // details are None. |
821 NOTIFICATION_DESKTOP_NOTIFICATION_SETTINGS_CHANGED, | 821 NOTIFICATION_DESKTOP_NOTIFICATION_SETTINGS_CHANGED, |
822 | 822 |
823 // Sent when content settings change for a tab. The source is a | 823 // Sent when content settings change for a tab. The source is a |
824 // content::WebContents object, the details are None. | 824 // content::WebContents object, the details are None. |
825 NOTIFICATION_WEB_CONTENT_SETTINGS_CHANGED, | 825 NOTIFICATION_WEB_CONTENT_SETTINGS_CHANGED, |
826 | 826 |
827 // Sync -------------------------------------------------------------------- | 827 // Sync -------------------------------------------------------------------- |
828 | 828 |
829 // Sent when the syncer is blocked configuring. | 829 // The sync service has finished the datatype configuration process. The |
830 NOTIFICATION_SYNC_CONFIGURE_BLOCKED, | 830 // source is the ProfileSyncService object of the Profile. There are no |
| 831 // details. |
| 832 NOTIFICATION_SYNC_CONFIGURE_DONE, |
831 | 833 |
832 // The sync service has started the configuration process. | 834 // The sync service has started the datatype configuration process. The source |
| 835 // is the ProfileSyncService object of the Profile. There are no details. |
833 NOTIFICATION_SYNC_CONFIGURE_START, | 836 NOTIFICATION_SYNC_CONFIGURE_START, |
834 | 837 |
835 // The sync service is finished the configuration process. | |
836 NOTIFICATION_SYNC_CONFIGURE_DONE, | |
837 | |
838 // A service is requesting a sync datatype refresh for the current profile. | 838 // A service is requesting a sync datatype refresh for the current profile. |
839 // The details value is a const syncer::ModelTypePayloadMap. | 839 // The details value is a const syncer::ModelTypePayloadMap. |
840 // If the payload map is empty, it should be treated as an invalidation for | 840 // If the payload map is empty, it should be treated as an invalidation for |
841 // all enabled types. This is used by session sync. | 841 // all enabled types. This is used by session sync. |
842 NOTIFICATION_SYNC_REFRESH_LOCAL, | 842 NOTIFICATION_SYNC_REFRESH_LOCAL, |
843 | 843 |
844 // External notification requesting a sync datatype refresh for the current | 844 // External notification requesting a sync datatype refresh for the current |
845 // profile. The details value is a const syncer::ModelTypePayloadMap. | 845 // profile. The details value is a const syncer::ModelTypePayloadMap. |
846 // If the payload map is empty, it should be treated as an invalidation for | 846 // If the payload map is empty, it should be treated as an invalidation for |
847 // all enabled types. This is used for notifications on Android. | 847 // all enabled types. This is used for notifications on Android. |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1252 // Currently only Content and Chrome define and use notifications. | 1252 // Currently only Content and Chrome define and use notifications. |
1253 // Custom notifications not belonging to Content and Chrome should start | 1253 // Custom notifications not belonging to Content and Chrome should start |
1254 // from here. | 1254 // from here. |
1255 NOTIFICATION_CHROME_END, | 1255 NOTIFICATION_CHROME_END, |
1256 }; | 1256 }; |
1257 | 1257 |
1258 } // namespace chrome | 1258 } // namespace chrome |
1259 | 1259 |
1260 | 1260 |
1261 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1261 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |