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 "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 903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
914 // Sent when a user signs into Google services such as sync. | 914 // Sent when a user signs into Google services such as sync. |
915 // The source is the Profile. The details are a | 915 // The source is the Profile. The details are a |
916 // GoogleServiceSigninSuccessDetails object. | 916 // GoogleServiceSigninSuccessDetails object. |
917 NOTIFICATION_GOOGLE_SIGNIN_SUCCESSFUL, | 917 NOTIFICATION_GOOGLE_SIGNIN_SUCCESSFUL, |
918 | 918 |
919 // Sent when a user fails to sign into Google services such as sync. | 919 // Sent when a user fails to sign into Google services such as sync. |
920 // The source is the Profile. The details are a GoogleServiceAuthError | 920 // The source is the Profile. The details are a GoogleServiceAuthError |
921 // object. | 921 // object. |
922 NOTIFICATION_GOOGLE_SIGNIN_FAILED, | 922 NOTIFICATION_GOOGLE_SIGNIN_FAILED, |
923 | 923 |
| 924 // Sent when the currently signed-in user will sign out. |
| 925 // The source is the Profile. The details are a |
| 926 // GoogleServiceSignoutDetails object. |
| 927 NOTIFICATION_GOOGLE_WILL_SIGN_OUT, |
| 928 |
924 // Sent when the currently signed-in user for a user has been signed out. | 929 // Sent when the currently signed-in user for a user has been signed out. |
925 // The source is the Profile. The details are a | 930 // The source is the Profile. The details are a |
926 // GoogleServiceSignoutDetails object. | 931 // GoogleServiceSignoutDetails object. |
927 NOTIFICATION_GOOGLE_SIGNED_OUT, | 932 NOTIFICATION_GOOGLE_SIGNED_OUT, |
928 | 933 |
929 // Autofill Notifications -------------------------------------------------- | 934 // Autofill Notifications -------------------------------------------------- |
930 | 935 |
931 // Sent when a popup with Autofill suggestions is shown in the renderer. | 936 // Sent when a popup with Autofill suggestions is shown in the renderer. |
932 // The source is the corresponding RenderViewHost. There are not details. | 937 // The source is the corresponding RenderViewHost. There are not details. |
933 NOTIFICATION_AUTOFILL_DID_SHOW_SUGGESTIONS, | 938 NOTIFICATION_AUTOFILL_DID_SHOW_SUGGESTIONS, |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1264 // Currently only Content and Chrome define and use notifications. | 1269 // Currently only Content and Chrome define and use notifications. |
1265 // Custom notifications not belonging to Content and Chrome should start | 1270 // Custom notifications not belonging to Content and Chrome should start |
1266 // from here. | 1271 // from here. |
1267 NOTIFICATION_CHROME_END, | 1272 NOTIFICATION_CHROME_END, |
1268 }; | 1273 }; |
1269 | 1274 |
1270 } // namespace chrome | 1275 } // namespace chrome |
1271 | 1276 |
1272 | 1277 |
1273 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1278 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |