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.
5 #ifndef EXTENSIONS_BROWSER_API_MANAGEMENT_MANAGEMENT_API_CONSTANTS_H_
6 #define EXTENSIONS_BROWSER_API_MANAGEMENT_MANAGEMENT_API_CONSTANTS_H_
8 namespace extension_management_api_constants
{
10 // Keys used for incoming arguments and outgoing JSON data.
11 extern const char kDisabledReasonKey
[];
13 // Values for outgoing JSON data.
14 extern const char kDisabledReasonPermissionsIncrease
[];
17 extern const char kExtensionCreateError
[];
18 extern const char kGestureNeededForEscalationError
[];
19 extern const char kGestureNeededForUninstallError
[];
20 extern const char kManifestParseError
[];
21 extern const char kNoExtensionError
[];
22 extern const char kNotAnAppError
[];
23 extern const char kUserCantModifyError
[];
24 extern const char kUninstallCanceledError
[];
25 extern const char kUserDidNotReEnableError
[];
26 extern const char kMissingRequirementsError
[];
27 extern const char kGestureNeededForCreateAppShortcutError
[];
28 extern const char kNoBrowserToCreateShortcut
[];
29 extern const char kCreateOnlyPackagedAppShortcutMac
[];
30 extern const char kCreateShortcutCanceledError
[];
31 extern const char kGestureNeededForSetLaunchTypeError
[];
32 extern const char kLaunchTypeNotAvailableError
[];
33 extern const char kGestureNeededForGenerateAppForLinkError
[];
34 extern const char kInvalidURLError
[];
35 extern const char kEmptyTitleError
[];
36 extern const char kGenerateAppForLinkInstallError
[];
38 } // namespace extension_management_api_constants
40 #endif // EXTENSIONS_BROWSER_API_MANAGEMENT_MANAGEMENT_API_CONSTANTS_H_