| 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 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 // Sent when a user fails to sign into Google services such as sync. | 711 // Sent when a user fails to sign into Google services such as sync. |
| 712 // The source is the Profile. The details are a GoogleServiceAuthError | 712 // The source is the Profile. The details are a GoogleServiceAuthError |
| 713 // object. | 713 // object. |
| 714 NOTIFICATION_GOOGLE_SIGNIN_FAILED, | 714 NOTIFICATION_GOOGLE_SIGNIN_FAILED, |
| 715 | 715 |
| 716 // Sent when the currently signed-in user for a user has been signed out. | 716 // Sent when the currently signed-in user for a user has been signed out. |
| 717 // The source is the Profile. The details are a | 717 // The source is the Profile. The details are a |
| 718 // GoogleServiceSignoutDetails object. | 718 // GoogleServiceSignoutDetails object. |
| 719 NOTIFICATION_GOOGLE_SIGNED_OUT, | 719 NOTIFICATION_GOOGLE_SIGNED_OUT, |
| 720 | 720 |
| 721 // GoogleAutoLoginHelper --------------------------------------------------- |
| 722 |
| 723 // Sent when an account has been merged into the content area cookie jar. |
| 724 // The source is the Profile. The details are a |
| 725 // GoogleAutoLoginHelper::MergeSessionDetails object. |
| 726 NOTIFICATION_MERGE_SESSION_COMPLETE, |
| 727 |
| 721 // Download Notifications -------------------------------------------------- | 728 // Download Notifications -------------------------------------------------- |
| 722 | 729 |
| 723 // Sent when a download is initiated. It is possible that the download will | 730 // Sent when a download is initiated. It is possible that the download will |
| 724 // not actually begin due to the DownloadRequestLimiter cancelling it | 731 // not actually begin due to the DownloadRequestLimiter cancelling it |
| 725 // prematurely. | 732 // prematurely. |
| 726 // The source is the corresponding RenderViewHost. There are no details. | 733 // The source is the corresponding RenderViewHost. There are no details. |
| 727 NOTIFICATION_DOWNLOAD_INITIATED, | 734 NOTIFICATION_DOWNLOAD_INITIATED, |
| 728 | 735 |
| 729 // Misc -------------------------------------------------------------------- | 736 // Misc -------------------------------------------------------------------- |
| 730 | 737 |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1019 // Note:- | 1026 // Note:- |
| 1020 // Currently only Content and Chrome define and use notifications. | 1027 // Currently only Content and Chrome define and use notifications. |
| 1021 // Custom notifications not belonging to Content and Chrome should start | 1028 // Custom notifications not belonging to Content and Chrome should start |
| 1022 // from here. | 1029 // from here. |
| 1023 NOTIFICATION_CHROME_END, | 1030 NOTIFICATION_CHROME_END, |
| 1024 }; | 1031 }; |
| 1025 | 1032 |
| 1026 } // namespace chrome | 1033 } // namespace chrome |
| 1027 | 1034 |
| 1028 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 1035 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |