| 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 1052 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1063 // os device has succeeded. | 1063 // os device has succeeded. |
| 1064 NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED, | 1064 NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED, |
| 1065 | 1065 |
| 1066 // Sent when an attempt to acquire the public key of the owner of a chromium | 1066 // Sent when an attempt to acquire the public key of the owner of a chromium |
| 1067 // os device has failed. | 1067 // os device has failed. |
| 1068 NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_FAILED, | 1068 NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_FAILED, |
| 1069 | 1069 |
| 1070 // Sent after UserManager checked ownership status of logged in user. | 1070 // Sent after UserManager checked ownership status of logged in user. |
| 1071 NOTIFICATION_OWNERSHIP_CHECKED, | 1071 NOTIFICATION_OWNERSHIP_CHECKED, |
| 1072 | 1072 |
| 1073 // Sent by DeviceSettingsService to indicate that the ownership status |
| 1074 // changed. If you can, please use DeviceSettingsService::Observer instead. |
| 1075 // Other singleton-based services can't use that because Observer |
| 1076 // unregistration is impossible due to unpredictable deletion order. |
| 1077 NOTIFICATION_OWNERSHIP_STATUS_CHANGED, |
| 1078 |
| 1073 // This is sent to a ChromeOS settings observer when a system setting is | 1079 // This is sent to a ChromeOS settings observer when a system setting is |
| 1074 // changed. The source is the CrosSettings and the details a std::string of | 1080 // changed. The source is the CrosSettings and the details a std::string of |
| 1075 // the changed setting. | 1081 // the changed setting. |
| 1076 NOTIFICATION_SYSTEM_SETTING_CHANGED, | 1082 NOTIFICATION_SYSTEM_SETTING_CHANGED, |
| 1077 | 1083 |
| 1078 // Sent by SIM unlock dialog when it has finished with the process of | 1084 // Sent by SIM unlock dialog when it has finished with the process of |
| 1079 // updating RequirePin setting. RequirePin setting might have been changed | 1085 // updating RequirePin setting. RequirePin setting might have been changed |
| 1080 // to a new value or update might have been canceled. | 1086 // to a new value or update might have been canceled. |
| 1081 // In either case notification is sent and details contain a bool | 1087 // In either case notification is sent and details contain a bool |
| 1082 // that represents current value. | 1088 // that represents current value. |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1252 // Currently only Content and Chrome define and use notifications. | 1258 // Currently only Content and Chrome define and use notifications. |
| 1253 // Custom notifications not belonging to Content and Chrome should start | 1259 // Custom notifications not belonging to Content and Chrome should start |
| 1254 // from here. | 1260 // from here. |
| 1255 NOTIFICATION_CHROME_END, | 1261 NOTIFICATION_CHROME_END, |
| 1256 }; | 1262 }; |
| 1257 | 1263 |
| 1258 } // namespace chrome | 1264 } // namespace chrome |
| 1259 | 1265 |
| 1260 | 1266 |
| 1261 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1267 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |