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 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
804 // map has changed. The source is the DesktopNotificationService, the | 804 // map has changed. The source is the DesktopNotificationService, the |
805 // details are None. | 805 // details are None. |
806 NOTIFICATION_DESKTOP_NOTIFICATION_SETTINGS_CHANGED, | 806 NOTIFICATION_DESKTOP_NOTIFICATION_SETTINGS_CHANGED, |
807 | 807 |
808 // Sent when content settings change for a tab. The source is a | 808 // Sent when content settings change for a tab. The source is a |
809 // content::WebContents object, the details are None. | 809 // content::WebContents object, the details are None. |
810 NOTIFICATION_WEB_CONTENT_SETTINGS_CHANGED, | 810 NOTIFICATION_WEB_CONTENT_SETTINGS_CHANGED, |
811 | 811 |
812 // Sync -------------------------------------------------------------------- | 812 // Sync -------------------------------------------------------------------- |
813 | 813 |
814 // Sent when the syncer is blocked configuring. | 814 // The sync service has finished the datatype configuration process. The |
815 NOTIFICATION_SYNC_CONFIGURE_BLOCKED, | 815 // source is the ProfileSyncService object of the Profile. There are no |
| 816 // details. |
| 817 NOTIFICATION_SYNC_CONFIGURE_DONE, |
816 | 818 |
817 // The sync service has started the configuration process. | 819 // The sync service has started the datatype configuration process. The source |
| 820 // is the ProfileSyncService object of the Profile. There are no details. |
818 NOTIFICATION_SYNC_CONFIGURE_START, | 821 NOTIFICATION_SYNC_CONFIGURE_START, |
819 | 822 |
820 // The sync service is finished the configuration process. | |
821 NOTIFICATION_SYNC_CONFIGURE_DONE, | |
822 | |
823 // A service is requesting a sync datatype refresh for the current profile. | 823 // A service is requesting a sync datatype refresh for the current profile. |
824 // The details value is a const syncer::ModelTypePayloadMap. | 824 // The details value is a const syncer::ModelTypePayloadMap. |
825 // If the payload map is empty, it should be treated as an invalidation for | 825 // If the payload map is empty, it should be treated as an invalidation for |
826 // all enabled types. This is used by session sync. | 826 // all enabled types. This is used by session sync. |
827 NOTIFICATION_SYNC_REFRESH_LOCAL, | 827 NOTIFICATION_SYNC_REFRESH_LOCAL, |
828 | 828 |
829 // External notification requesting a sync datatype refresh for the current | 829 // External notification requesting a sync datatype refresh for the current |
830 // profile. The details value is a const syncer::ModelTypePayloadMap. | 830 // profile. The details value is a const syncer::ModelTypePayloadMap. |
831 // If the payload map is empty, it should be treated as an invalidation for | 831 // If the payload map is empty, it should be treated as an invalidation for |
832 // all enabled types. This is used for notifications on Android. | 832 // all enabled types. This is used for notifications on Android. |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1237 // Currently only Content and Chrome define and use notifications. | 1237 // Currently only Content and Chrome define and use notifications. |
1238 // Custom notifications not belonging to Content and Chrome should start | 1238 // Custom notifications not belonging to Content and Chrome should start |
1239 // from here. | 1239 // from here. |
1240 NOTIFICATION_CHROME_END, | 1240 NOTIFICATION_CHROME_END, |
1241 }; | 1241 }; |
1242 | 1242 |
1243 } // namespace chrome | 1243 } // namespace chrome |
1244 | 1244 |
1245 | 1245 |
1246 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1246 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |