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_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_BROWSER_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 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 // If a token request failed, one of these is issued per failed request. | 730 // If a token request failed, one of these is issued per failed request. |
731 // The source is a TokenService on the Profile. The details are a | 731 // The source is a TokenService on the Profile. The details are a |
732 // TokenRequestFailedDetails object. | 732 // TokenRequestFailedDetails object. |
733 NOTIFICATION_TOKEN_REQUEST_FAILED, | 733 NOTIFICATION_TOKEN_REQUEST_FAILED, |
734 | 734 |
735 // Fired when the TokenService has had all of its tokens removed (such as due | 735 // Fired when the TokenService has had all of its tokens removed (such as due |
736 // to the user signing out). The source is the TokenService. There are no | 736 // to the user signing out). The source is the TokenService. There are no |
737 // details. | 737 // details. |
738 NOTIFICATION_TOKENS_CLEARED, | 738 NOTIFICATION_TOKENS_CLEARED, |
739 | 739 |
| 740 // Signin Manager ---------------------------------------------------------- |
| 741 |
740 // Sent when a user signs into Google services such as sync. | 742 // Sent when a user signs into Google services such as sync. |
741 // The source is the Profile. The details are a | 743 // The source is the Profile. The details are a |
742 // GoogleServiceSigninSuccessDetails object. | 744 // GoogleServiceSigninSuccessDetails object. |
743 NOTIFICATION_GOOGLE_SIGNIN_SUCCESSFUL, | 745 NOTIFICATION_GOOGLE_SIGNIN_SUCCESSFUL, |
744 | 746 |
745 // Sent when a user fails to sign into Google services such as sync. | 747 // Sent when a user fails to sign into Google services such as sync. |
746 // The source is the Profile. The details are a GoogleServiceAuthError | 748 // The source is the Profile. The details are a GoogleServiceAuthError |
747 // object. | 749 // object. |
748 NOTIFICATION_GOOGLE_SIGNIN_FAILED, | 750 NOTIFICATION_GOOGLE_SIGNIN_FAILED, |
749 | 751 |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1053 // Note:- | 1055 // Note:- |
1054 // Currently only Content and Chrome define and use notifications. | 1056 // Currently only Content and Chrome define and use notifications. |
1055 // Custom notifications not belonging to Content and Chrome should start | 1057 // Custom notifications not belonging to Content and Chrome should start |
1056 // from here. | 1058 // from here. |
1057 NOTIFICATION_CHROME_END, | 1059 NOTIFICATION_CHROME_END, |
1058 }; | 1060 }; |
1059 | 1061 |
1060 } // namespace chrome | 1062 } // namespace chrome |
1061 | 1063 |
1062 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 1064 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |