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