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

Side by Side Diff: chrome/browser/extensions/extension_management_api_constants.h

Issue 8520035: Revert 110264 - Fix for management API related to escalated permissions disabled extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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
(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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_
7 #pragma once
8
9 namespace extension_management_api_constants {
10
11 // Keys used for incoming arguments and outgoing JSON data.
12 extern const char kAppLaunchUrlKey[];
13 extern const char kDescriptionKey[];
14 extern const char kEnabledKey[];
15 extern const char kDisabledReasonKey[];
16 extern const char kHomepageUrlKey[];
17 extern const char kIconsKey[];
18 extern const char kIdKey[];
19 extern const char kIsAppKey[];
20 extern const char kNameKey[];
21 extern const char kOfflineEnabledKey[];
22 extern const char kOptionsUrlKey[];
23 extern const char kPermissionsKey[];
24 extern const char kMayDisableKey[];
25 extern const char kSizeKey[];
26 extern const char kUpdateUrlKey[];
27 extern const char kUrlKey[];
28 extern const char kVersionKey[];
29
30 // Values for outgoing JSON data.
31 extern const char kDisabledReasonPermissionsIncrease[];
32 extern const char kDisabledReasonUnknown[];
33
34 // Error messages.
35 extern const char kExtensionCreateError[];
36 extern const char kGestureNeededForEscalationError[];
37 extern const char kManifestParseError[];
38 extern const char kNoExtensionError[];
39 extern const char kNotAnAppError[];
40 extern const char kUserCantDisableError[];
41 extern const char kUserDidNotReEnableError[];
42
43 } // namespace extension_management_api_constants
44
45 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698