| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_ | |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_ | |
| 7 | |
| 8 namespace extension_management_api_constants { | |
| 9 | |
| 10 // Keys used for incoming arguments and outgoing JSON data. | |
| 11 extern const char kAppLaunchUrlKey[]; | |
| 12 extern const char kDisabledReasonKey[]; | |
| 13 extern const char kHostPermissionsKey[]; | |
| 14 extern const char kIconsKey[]; | |
| 15 extern const char kIsAppKey[]; | |
| 16 extern const char kMayDisableKey[]; | |
| 17 extern const char kPermissionsKey[]; | |
| 18 extern const char kShowConfirmDialogKey[]; | |
| 19 extern const char kSizeKey[]; | |
| 20 extern const char kUpdateUrlKey[]; | |
| 21 extern const char kUrlKey[]; | |
| 22 | |
| 23 // Values for outgoing JSON data. | |
| 24 extern const char kDisabledReasonPermissionsIncrease[]; | |
| 25 extern const char kDisabledReasonUnknown[]; | |
| 26 | |
| 27 // Error messages. | |
| 28 extern const char kExtensionCreateError[]; | |
| 29 extern const char kGestureNeededForEscalationError[]; | |
| 30 extern const char kManifestParseError[]; | |
| 31 extern const char kNoExtensionError[]; | |
| 32 extern const char kNotAnAppError[]; | |
| 33 extern const char kUserCantModifyError[]; | |
| 34 extern const char kUninstallCanceledError[]; | |
| 35 extern const char kUserDidNotReEnableError[]; | |
| 36 | |
| 37 } // namespace extension_management_api_constants | |
| 38 | |
| 39 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_ | |
| OLD | NEW |