Chromium Code Reviews| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
| 10 | 10 |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 486 | 486 |
| 487 // An error occured during extension install. The details are a string with | 487 // An error occured during extension install. The details are a string with |
| 488 // details about why the install failed. | 488 // details about why the install failed. |
| 489 NOTIFICATION_EXTENSION_INSTALL_ERROR, | 489 NOTIFICATION_EXTENSION_INSTALL_ERROR, |
| 490 | 490 |
| 491 // Sent when an extension install is not allowed, as indicated by | 491 // Sent when an extension install is not allowed, as indicated by |
| 492 // PendingExtensionInfo::ShouldAllowInstall. The details are an Extension, | 492 // PendingExtensionInfo::ShouldAllowInstall. The details are an Extension, |
| 493 // and the source is a Profile. | 493 // and the source is a Profile. |
| 494 NOTIFICATION_EXTENSION_INSTALL_NOT_ALLOWED, | 494 NOTIFICATION_EXTENSION_INSTALL_NOT_ALLOWED, |
| 495 | 495 |
| 496 // Sent when an extension has been uninstalled. The details are the extension | 496 // Sent when an extension has been uninstalled. The details are the extension |
|
Yoyo Zhou
2012/07/09 17:06:37
Might as well use the "details are an Extension, a
Devlin
2012/07/09 20:48:26
Done.
| |
| 497 // id and the source is a Profile. | 497 // which was uninstalled and the source is a Profile. |
| 498 NOTIFICATION_EXTENSION_UNINSTALLED, | 498 NOTIFICATION_EXTENSION_UNINSTALLED, |
| 499 | 499 |
| 500 // Sent when an extension uninstall is not allowed because the extension is | 500 // Sent when an extension uninstall is not allowed because the extension is |
| 501 // not user manageable. The details are an Extension, and the source is a | 501 // not user manageable. The details are an Extension, and the source is a |
| 502 // Profile. | 502 // Profile. |
| 503 NOTIFICATION_EXTENSION_UNINSTALL_NOT_ALLOWED, | 503 NOTIFICATION_EXTENSION_UNINSTALL_NOT_ALLOWED, |
| 504 | 504 |
| 505 // Sent when an extension is unloaded. This happens when an extension is | 505 // Sent when an extension is unloaded. This happens when an extension is |
| 506 // uninstalled or disabled. The details are an UnloadedExtensionInfo, and | 506 // uninstalled or disabled. The details are an UnloadedExtensionInfo, and |
| 507 // the source is a Profile. | 507 // the source is a Profile. |
| (...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1193 // Currently only Content and Chrome define and use notifications. | 1193 // Currently only Content and Chrome define and use notifications. |
| 1194 // Custom notifications not belonging to Content and Chrome should start | 1194 // Custom notifications not belonging to Content and Chrome should start |
| 1195 // from here. | 1195 // from here. |
| 1196 NOTIFICATION_CHROME_END, | 1196 NOTIFICATION_CHROME_END, |
| 1197 }; | 1197 }; |
| 1198 | 1198 |
| 1199 } // namespace chrome | 1199 } // namespace chrome |
| 1200 | 1200 |
| 1201 | 1201 |
| 1202 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1202 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |