| 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 | 491 |
| 492 // An error occured during extension install. The details are a string with | 492 // An error occured during extension install. The details are a string with |
| 493 // details about why the install failed. | 493 // details about why the install failed. |
| 494 NOTIFICATION_EXTENSION_INSTALL_ERROR, | 494 NOTIFICATION_EXTENSION_INSTALL_ERROR, |
| 495 | 495 |
| 496 // Sent when an extension install is not allowed, as indicated by | 496 // Sent when an extension install is not allowed, as indicated by |
| 497 // PendingExtensionInfo::ShouldAllowInstall. The details are an Extension, | 497 // PendingExtensionInfo::ShouldAllowInstall. The details are an Extension, |
| 498 // and the source is a Profile. | 498 // and the source is a Profile. |
| 499 NOTIFICATION_EXTENSION_INSTALL_NOT_ALLOWED, | 499 NOTIFICATION_EXTENSION_INSTALL_NOT_ALLOWED, |
| 500 | 500 |
| 501 // Sent when an extension has been uninstalled. The details are the extension | 501 // Sent when an extension has been uninstalled. The details are an Extension, |
| 502 // id and the source is a Profile. | 502 // and the source is a Profile. |
| 503 NOTIFICATION_EXTENSION_UNINSTALLED, | 503 NOTIFICATION_EXTENSION_UNINSTALLED, |
| 504 | 504 |
| 505 // Sent when an extension uninstall is not allowed because the extension is | 505 // Sent when an extension uninstall is not allowed because the extension is |
| 506 // not user manageable. The details are an Extension, and the source is a | 506 // not user manageable. The details are an Extension, and the source is a |
| 507 // Profile. | 507 // Profile. |
| 508 NOTIFICATION_EXTENSION_UNINSTALL_NOT_ALLOWED, | 508 NOTIFICATION_EXTENSION_UNINSTALL_NOT_ALLOWED, |
| 509 | 509 |
| 510 // Sent when an extension is unloaded. This happens when an extension is | 510 // Sent when an extension is unloaded. This happens when an extension is |
| 511 // uninstalled or disabled. The details are an UnloadedExtensionInfo, and | 511 // uninstalled or disabled. The details are an UnloadedExtensionInfo, and |
| 512 // the source is a Profile. | 512 // the source is a Profile. |
| (...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1214 // Currently only Content and Chrome define and use notifications. | 1214 // Currently only Content and Chrome define and use notifications. |
| 1215 // Custom notifications not belonging to Content and Chrome should start | 1215 // Custom notifications not belonging to Content and Chrome should start |
| 1216 // from here. | 1216 // from here. |
| 1217 NOTIFICATION_CHROME_END, | 1217 NOTIFICATION_CHROME_END, |
| 1218 }; | 1218 }; |
| 1219 | 1219 |
| 1220 } // namespace chrome | 1220 } // namespace chrome |
| 1221 | 1221 |
| 1222 | 1222 |
| 1223 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1223 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |