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

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

Issue 137793011: Require user confirmation for chrome.management.uninstall except when uninstalling self. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ExtensionManagementApiBrowserTest.LaunchApp Created 6 years, 11 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 | Annotate | Revision Log
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_API_MANAGEMENT_MANAGEMENT_API_CONSTANTS_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_MANAGEMENT_API_CONSTANTS_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_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 kDisabledReasonKey[]; 11 extern const char kDisabledReasonKey[];
12 12
13 // Values for outgoing JSON data. 13 // Values for outgoing JSON data.
14 extern const char kDisabledReasonPermissionsIncrease[]; 14 extern const char kDisabledReasonPermissionsIncrease[];
15 15
16 // Error messages. 16 // Error messages.
17 extern const char kExtensionCreateError[]; 17 extern const char kExtensionCreateError[];
18 extern const char kGestureNeededForEscalationError[]; 18 extern const char kGestureNeededForEscalationError[];
19 extern const char kGestureNeededForUninstallError[];
19 extern const char kManifestParseError[]; 20 extern const char kManifestParseError[];
20 extern const char kNoExtensionError[]; 21 extern const char kNoExtensionError[];
21 extern const char kNotAnAppError[]; 22 extern const char kNotAnAppError[];
22 extern const char kUserCantModifyError[]; 23 extern const char kUserCantModifyError[];
23 extern const char kUninstallCanceledError[]; 24 extern const char kUninstallCanceledError[];
24 extern const char kUserDidNotReEnableError[]; 25 extern const char kUserDidNotReEnableError[];
25 26
26 27
27 } // namespace extension_management_api_constants 28 } // namespace extension_management_api_constants
28 29
29 #endif // CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_MANAGEMENT_API_CONSTANTS_H_ 30 #endif // CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_MANAGEMENT_API_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698