| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
| 10 | 10 |
| (...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 795 // Sent when the syncer is blocked configuring. | 795 // Sent when the syncer is blocked configuring. |
| 796 NOTIFICATION_SYNC_CONFIGURE_BLOCKED, | 796 NOTIFICATION_SYNC_CONFIGURE_BLOCKED, |
| 797 | 797 |
| 798 // The sync service has started the configuration process. | 798 // The sync service has started the configuration process. |
| 799 NOTIFICATION_SYNC_CONFIGURE_START, | 799 NOTIFICATION_SYNC_CONFIGURE_START, |
| 800 | 800 |
| 801 // The sync service is finished the configuration process. | 801 // The sync service is finished the configuration process. |
| 802 NOTIFICATION_SYNC_CONFIGURE_DONE, | 802 NOTIFICATION_SYNC_CONFIGURE_DONE, |
| 803 | 803 |
| 804 // A service is requesting a sync datatype refresh for the current profile. | 804 // A service is requesting a sync datatype refresh for the current profile. |
| 805 // The details value is a const syncable::ModelTypePayloadMap. | 805 // The details value is a const syncer::ModelTypePayloadMap. |
| 806 // If the payload map is empty, it should be treated as an invalidation for | 806 // If the payload map is empty, it should be treated as an invalidation for |
| 807 // all enabled types. This is used by session sync. | 807 // all enabled types. This is used by session sync. |
| 808 NOTIFICATION_SYNC_REFRESH_LOCAL, | 808 NOTIFICATION_SYNC_REFRESH_LOCAL, |
| 809 | 809 |
| 810 // External notification requesting a sync datatype refresh for the current | 810 // External notification requesting a sync datatype refresh for the current |
| 811 // profile. The details value is a const syncable::ModelTypePayloadMap. | 811 // profile. The details value is a const syncer::ModelTypePayloadMap. |
| 812 // If the payload map is empty, it should be treated as an invalidation for | 812 // If the payload map is empty, it should be treated as an invalidation for |
| 813 // all enabled types. This is used for notifications on Android. | 813 // all enabled types. This is used for notifications on Android. |
| 814 NOTIFICATION_SYNC_REFRESH_REMOTE, | 814 NOTIFICATION_SYNC_REFRESH_REMOTE, |
| 815 | 815 |
| 816 // The session service has been saved. This notification type is only sent | 816 // The session service has been saved. This notification type is only sent |
| 817 // if there were new SessionService commands to save, and not for no-op save | 817 // if there were new SessionService commands to save, and not for no-op save |
| 818 // operations. | 818 // operations. |
| 819 NOTIFICATION_SESSION_SERVICE_SAVED, | 819 NOTIFICATION_SESSION_SERVICE_SAVED, |
| 820 | 820 |
| 821 // A foreign session has been updated. If a new tab page is open, the | 821 // A foreign session has been updated. If a new tab page is open, the |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1193 // Currently only Content and Chrome define and use notifications. | 1193 // Currently only Content and Chrome define and use notifications. |
| 1194 // Custom notifications not belonging to Content and Chrome should start | 1194 // Custom notifications not belonging to Content and Chrome should start |
| 1195 // from here. | 1195 // from here. |
| 1196 NOTIFICATION_CHROME_END, | 1196 NOTIFICATION_CHROME_END, |
| 1197 }; | 1197 }; |
| 1198 | 1198 |
| 1199 } // namespace chrome | 1199 } // namespace chrome |
| 1200 | 1200 |
| 1201 | 1201 |
| 1202 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1202 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |