OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
10 | 10 |
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 | 814 |
815 // Foreign sessions has been disabled. New tabs should not display foreign | 815 // Foreign sessions has been disabled. New tabs should not display foreign |
816 // session data. | 816 // session data. |
817 NOTIFICATION_FOREIGN_SESSION_DISABLED, | 817 NOTIFICATION_FOREIGN_SESSION_DISABLED, |
818 | 818 |
819 // All tab metadata has been loaded from disk asynchronously. | 819 // All tab metadata has been loaded from disk asynchronously. |
820 // Sent on the UI thread. | 820 // Sent on the UI thread. |
821 // The source is the Profile. There are no details. | 821 // The source is the Profile. There are no details. |
822 NOTIFICATION_SESSION_RESTORE_COMPLETE, | 822 NOTIFICATION_SESSION_RESTORE_COMPLETE, |
823 | 823 |
| 824 NOTIFICATION_SESSION_SYNC_ID_GENERATED, |
| 825 |
824 // Cookies ----------------------------------------------------------------- | 826 // Cookies ----------------------------------------------------------------- |
825 | 827 |
826 // Sent when a cookie changes. The source is a Profile object, the details | 828 // Sent when a cookie changes. The source is a Profile object, the details |
827 // are a ChromeCookieDetails object. | 829 // are a ChromeCookieDetails object. |
828 NOTIFICATION_COOKIE_CHANGED, | 830 NOTIFICATION_COOKIE_CHANGED, |
829 | 831 |
830 // Token Service ----------------------------------------------------------- | 832 // Token Service ----------------------------------------------------------- |
831 | 833 |
832 // When the token service has a new token available for a service, one of | 834 // When the token service has a new token available for a service, one of |
833 // these notifications is issued per new token. | 835 // these notifications is issued per new token. |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1245 // Note:- | 1247 // Note:- |
1246 // Currently only Content and Chrome define and use notifications. | 1248 // Currently only Content and Chrome define and use notifications. |
1247 // Custom notifications not belonging to Content and Chrome should start | 1249 // Custom notifications not belonging to Content and Chrome should start |
1248 // from here. | 1250 // from here. |
1249 NOTIFICATION_CHROME_END, | 1251 NOTIFICATION_CHROME_END, |
1250 }; | 1252 }; |
1251 | 1253 |
1252 } // namespace chrome | 1254 } // namespace chrome |
1253 | 1255 |
1254 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1256 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |