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 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
922 // Sent when a user signs into Google services such as sync. | 922 // Sent when a user signs into Google services such as sync. |
923 // The source is the Profile. The details are a | 923 // The source is the Profile. The details are a |
924 // GoogleServiceSigninSuccessDetails object. | 924 // GoogleServiceSigninSuccessDetails object. |
925 NOTIFICATION_GOOGLE_SIGNIN_SUCCESSFUL, | 925 NOTIFICATION_GOOGLE_SIGNIN_SUCCESSFUL, |
926 | 926 |
927 // Sent when a user fails to sign into Google services such as sync. | 927 // Sent when a user fails to sign into Google services such as sync. |
928 // The source is the Profile. The details are a GoogleServiceAuthError | 928 // The source is the Profile. The details are a GoogleServiceAuthError |
929 // object. | 929 // object. |
930 NOTIFICATION_GOOGLE_SIGNIN_FAILED, | 930 NOTIFICATION_GOOGLE_SIGNIN_FAILED, |
931 | 931 |
| 932 // Sent when the currently signed-in user for a user will sign out. |
| 933 // The source is the Profile. There are no details. |
| 934 NOTIFICATION_GOOGLE_WILL_SIGN_OUT, |
| 935 |
932 // Sent when the currently signed-in user for a user has been signed out. | 936 // Sent when the currently signed-in user for a user has been signed out. |
933 // The source is the Profile. There are no details. | 937 // The source is the Profile. There are no details. |
934 NOTIFICATION_GOOGLE_SIGNED_OUT, | 938 NOTIFICATION_GOOGLE_SIGNED_OUT, |
935 | 939 |
936 // Autofill Notifications -------------------------------------------------- | 940 // Autofill Notifications -------------------------------------------------- |
937 | 941 |
938 // Sent when a popup with Autofill suggestions is shown in the renderer. | 942 // Sent when a popup with Autofill suggestions is shown in the renderer. |
939 // The source is the corresponding RenderViewHost. There are not details. | 943 // The source is the corresponding RenderViewHost. There are not details. |
940 NOTIFICATION_AUTOFILL_DID_SHOW_SUGGESTIONS, | 944 NOTIFICATION_AUTOFILL_DID_SHOW_SUGGESTIONS, |
941 | 945 |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1278 // Currently only Content and Chrome define and use notifications. | 1282 // Currently only Content and Chrome define and use notifications. |
1279 // Custom notifications not belonging to Content and Chrome should start | 1283 // Custom notifications not belonging to Content and Chrome should start |
1280 // from here. | 1284 // from here. |
1281 NOTIFICATION_CHROME_END, | 1285 NOTIFICATION_CHROME_END, |
1282 }; | 1286 }; |
1283 | 1287 |
1284 } // namespace chrome | 1288 } // namespace chrome |
1285 | 1289 |
1286 | 1290 |
1287 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1291 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |