• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_API_MANAGEMENT_MANAGEMENT_API_CONSTANTS_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_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 kDisabledReasonKey[];
12 
13 // Values for outgoing JSON data.
14 extern const char kDisabledReasonPermissionsIncrease[];
15 
16 // Error messages.
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 kGestureNeededForCreateAppShortcutError[];
27 extern const char kNoBrowserToCreateShortcut[];
28 extern const char kCreateOnlyPackagedAppShortcutMac[];
29 extern const char kCreateShortcutCanceledError[];
30 extern const char kGestureNeededForSetLaunchTypeError[];
31 extern const char kLaunchTypeNotAvailableError[];
32 extern const char kGestureNeededForGenerateAppForLinkError[];
33 extern const char kInvalidURLError[];
34 extern const char kEmptyTitleError[];
35 extern const char kGenerateAppForLinkInstallError[];
36 
37 
38 }  // namespace extension_management_api_constants
39 
40 #endif  // CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_MANAGEMENT_API_CONSTANTS_H_
41