| 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 "content/public/browser/notification_types.h" | 8 #include "content/public/browser/notification_types.h" |
| 9 | 9 |
| 10 namespace chrome { | 10 namespace chrome { |
| (...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1047 // os device has succeeded. | 1047 // os device has succeeded. |
| 1048 NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED, | 1048 NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED, |
| 1049 | 1049 |
| 1050 // Sent when an attempt to acquire the public key of the owner of a chromium | 1050 // Sent when an attempt to acquire the public key of the owner of a chromium |
| 1051 // os device has failed. | 1051 // os device has failed. |
| 1052 NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_FAILED, | 1052 NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_FAILED, |
| 1053 | 1053 |
| 1054 // Sent after UserManager checked ownership status of logged in user. | 1054 // Sent after UserManager checked ownership status of logged in user. |
| 1055 NOTIFICATION_OWNERSHIP_CHECKED, | 1055 NOTIFICATION_OWNERSHIP_CHECKED, |
| 1056 | 1056 |
| 1057 // Sent by DeviceSettingsService to indicate that the ownership status |
| 1058 // changed. If you can, please use DeviceSettingsService::Observer instead. |
| 1059 // Other singleton-based services can't use that because Observer |
| 1060 // unregistration is impossible due to unpredictable deletion order. |
| 1061 NOTIFICATION_OWNERSHIP_STATUS_CHANGED, |
| 1062 |
| 1057 // This is sent to a ChromeOS settings observer when a system setting is | 1063 // This is sent to a ChromeOS settings observer when a system setting is |
| 1058 // changed. The source is the CrosSettings and the details a std::string of | 1064 // changed. The source is the CrosSettings and the details a std::string of |
| 1059 // the changed setting. | 1065 // the changed setting. |
| 1060 NOTIFICATION_SYSTEM_SETTING_CHANGED, | 1066 NOTIFICATION_SYSTEM_SETTING_CHANGED, |
| 1061 | 1067 |
| 1062 // Sent by SIM unlock dialog when it has finished with the process of | 1068 // Sent by SIM unlock dialog when it has finished with the process of |
| 1063 // updating RequirePin setting. RequirePin setting might have been changed | 1069 // updating RequirePin setting. RequirePin setting might have been changed |
| 1064 // to a new value or update might have been canceled. | 1070 // to a new value or update might have been canceled. |
| 1065 // In either case notification is sent and details contain a bool | 1071 // In either case notification is sent and details contain a bool |
| 1066 // that represents current value. | 1072 // that represents current value. |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1233 // Currently only Content and Chrome define and use notifications. | 1239 // Currently only Content and Chrome define and use notifications. |
| 1234 // Custom notifications not belonging to Content and Chrome should start | 1240 // Custom notifications not belonging to Content and Chrome should start |
| 1235 // from here. | 1241 // from here. |
| 1236 NOTIFICATION_CHROME_END, | 1242 NOTIFICATION_CHROME_END, |
| 1237 }; | 1243 }; |
| 1238 | 1244 |
| 1239 } // namespace chrome | 1245 } // namespace chrome |
| 1240 | 1246 |
| 1241 | 1247 |
| 1242 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1248 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |