OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 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 #include "chrome/browser/extensions/extension_management_api_constants.h" | |
6 | |
7 namespace extension_management_api_constants { | |
8 | |
9 const char kAppLaunchUrlKey[] = "appLaunchUrl"; | |
10 const char kDescriptionKey[] = "description"; | |
11 const char kEnabledKey[] = "enabled"; | |
12 const char kDisabledReasonKey[] = "disabledReason"; | |
13 const char kHomepageUrlKey[] = "homepageUrl"; | |
14 const char kIconsKey[] = "icons"; | |
15 const char kIdKey[] = "id"; | |
16 const char kIsAppKey[] = "isApp"; | |
17 const char kNameKey[] = "name"; | |
18 const char kOfflineEnabledKey[] = "offlineEnabled"; | |
19 const char kOptionsUrlKey[] = "optionsUrl"; | |
20 const char kPermissionsKey[] = "permissions"; | |
21 const char kMayDisableKey[] = "mayDisable"; | |
22 const char kSizeKey[] = "size"; | |
23 const char kUpdateUrlKey[] = "updateUrl"; | |
24 const char kUrlKey[] = "url"; | |
25 const char kVersionKey[] = "version"; | |
26 | |
27 const char kDisabledReasonPermissionsIncrease[] = "permissions_increase"; | |
28 const char kDisabledReasonUnknown[] = "unknown"; | |
29 | |
30 const char kExtensionCreateError[] = | |
31 "Failed to create extension from manifest."; | |
32 const char kGestureNeededForEscalationError[] = | |
33 "Re-enabling an extension disabled due to permissions increase " | |
34 "requires a user gesture"; | |
35 const char kManifestParseError[] = "Failed to parse manifest."; | |
36 const char kNoExtensionError[] = "Failed to find extension with id *"; | |
37 const char kNotAnAppError[] = "Extension * is not an App"; | |
38 const char kUserCantDisableError[] = "Extension * can not be disabled by user"; | |
39 const char kUserDidNotReEnableError[] = | |
40 "The user did not accept the re-enable dialog"; | |
41 | |
42 } // namespace extension_management_api_constants | |
OLD | NEW |