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

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

Issue 9694038: OBSOLETE REVIEW. See http://codereview.chromium.org/10382149/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 #include "chrome/browser/extensions/extension_management_api_constants.h" 5 #include "chrome/browser/extensions/extension_management_api_constants.h"
6 6
7 namespace extension_management_api_constants { 7 namespace extension_management_api_constants {
8 8
9 const char kAppLaunchUrlKey[] = "appLaunchUrl"; 9 const char kAppLaunchUrlKey[] = "appLaunchUrl";
10 const char kDisabledReasonKey[] = "disabledReason"; 10 const char kDisabledReasonKey[] = "disabledReason";
11 const char kHostPermissionsKey[] = "hostPermissions"; 11 const char kHostPermissionsKey[] = "hostPermissions";
12 const char kIconsKey[] = "icons"; 12 const char kIconsKey[] = "icons";
13 const char kIsAppKey[] = "isApp"; 13 const char kIsAppKey[] = "isApp";
14 const char kMayDisableKey[] = "mayDisable";
14 const char kPermissionsKey[] = "permissions"; 15 const char kPermissionsKey[] = "permissions";
15 const char kSizeKey[] = "size"; 16 const char kSizeKey[] = "size";
16 const char kUpdateUrlKey[] = "updateUrl"; 17 const char kUpdateUrlKey[] = "updateUrl";
17 const char kUrlKey[] = "url"; 18 const char kUrlKey[] = "url";
18 19
19 const char kDisabledReasonPermissionsIncrease[] = "permissions_increase"; 20 const char kDisabledReasonPermissionsIncrease[] = "permissions_increase";
20 const char kDisabledReasonUnknown[] = "unknown"; 21 const char kDisabledReasonUnknown[] = "unknown";
21 22
22 const char kExtensionCreateError[] = 23 const char kExtensionCreateError[] =
23 "Failed to create extension from manifest."; 24 "Failed to create extension from manifest.";
24 const char kGestureNeededForEscalationError[] = 25 const char kGestureNeededForEscalationError[] =
25 "Re-enabling an extension disabled due to permissions increase " 26 "Re-enabling an extension disabled due to permissions increase "
26 "requires a user gesture"; 27 "requires a user gesture";
27 const char kManifestParseError[] = "Failed to parse manifest."; 28 const char kManifestParseError[] = "Failed to parse manifest.";
28 const char kNoExtensionError[] = "Failed to find extension with id *"; 29 const char kNoExtensionError[] = "Failed to find extension with id *";
29 const char kNotAnAppError[] = "Extension * is not an App"; 30 const char kNotAnAppError[] = "Extension * is not an App";
30 const char kUserCantDisableError[] = "Extension * can not be disabled by user"; 31 const char kUserCantDisableError[] = "Extension * can not be disabled by user";
32 const char kUserCantModifyError[] = "Extension * can not be modified by user";
31 const char kUserDidNotReEnableError[] = 33 const char kUserDidNotReEnableError[] =
32 "The user did not accept the re-enable dialog"; 34 "The user did not accept the re-enable dialog";
33 35
34 } // namespace extension_management_api_constants 36 } // namespace extension_management_api_constants
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698