Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Side by Side Diff: chrome/browser/extensions/api/management/management_api_constants.h

Issue 10750010: Add an installType property to the management API (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Forgot to remove param from LoadExtensionWithOptions (sorry) Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_MANAGEMENT_API_CONSTANTS_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_MANAGEMENT_API_CONSTANTS_H_
7 7
8 namespace extension_management_api_constants { 8 namespace extension_management_api_constants {
9 9
10 // Keys used for incoming arguments and outgoing JSON data. 10 // Keys used for incoming arguments and outgoing JSON data.
11 extern const char kAppLaunchUrlKey[]; 11 extern const char kAppLaunchUrlKey[];
12 extern const char kDisabledReasonKey[]; 12 extern const char kDisabledReasonKey[];
13 extern const char kHostPermissionsKey[]; 13 extern const char kHostPermissionsKey[];
14 extern const char kIconsKey[]; 14 extern const char kIconsKey[];
15 extern const char kInstallTypeKey[];
15 extern const char kIsAppKey[]; 16 extern const char kIsAppKey[];
16 extern const char kMayDisableKey[]; 17 extern const char kMayDisableKey[];
17 extern const char kPermissionsKey[]; 18 extern const char kPermissionsKey[];
18 extern const char kShowConfirmDialogKey[]; 19 extern const char kShowConfirmDialogKey[];
19 extern const char kSizeKey[]; 20 extern const char kSizeKey[];
20 extern const char kUpdateUrlKey[]; 21 extern const char kUpdateUrlKey[];
21 extern const char kUrlKey[]; 22 extern const char kUrlKey[];
22 23
23 // Values for outgoing JSON data. 24 // Values for outgoing JSON data.
24 extern const char kDisabledReasonPermissionsIncrease[]; 25 extern const char kDisabledReasonPermissionsIncrease[];
25 extern const char kDisabledReasonUnknown[]; 26 extern const char kDisabledReasonUnknown[];
26 27
27 // Error messages. 28 // Error messages.
28 extern const char kExtensionCreateError[]; 29 extern const char kExtensionCreateError[];
29 extern const char kGestureNeededForEscalationError[]; 30 extern const char kGestureNeededForEscalationError[];
30 extern const char kManifestParseError[]; 31 extern const char kManifestParseError[];
31 extern const char kNoExtensionError[]; 32 extern const char kNoExtensionError[];
32 extern const char kNotAnAppError[]; 33 extern const char kNotAnAppError[];
33 extern const char kUserCantModifyError[]; 34 extern const char kUserCantModifyError[];
34 extern const char kUninstallCanceledError[]; 35 extern const char kUninstallCanceledError[];
35 extern const char kUserDidNotReEnableError[]; 36 extern const char kUserDidNotReEnableError[];
36 37
38 // Install types.
39 extern const char kInstallTypeAdmin[];
40 extern const char kInstallTypeDevelopment[];
41 extern const char kInstallTypeNormal[];
42 extern const char kInstallTypeOther[];
43 extern const char kInstallTypeSideload[];
44
37 } // namespace extension_management_api_constants 45 } // namespace extension_management_api_constants
38 46
39 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_ 47 #endif // CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_MANAGEMENT_API_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698