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

Unified Diff: chrome/browser/extensions/extension_management_api_constants.cc

Issue 10382149: Refactor the various ways to control what users can do to extensions. (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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_management_api_constants.cc
===================================================================
--- chrome/browser/extensions/extension_management_api_constants.cc (revision 140193)
+++ chrome/browser/extensions/extension_management_api_constants.cc (working copy)
@@ -11,6 +11,7 @@
const char kHostPermissionsKey[] = "hostPermissions";
const char kIconsKey[] = "icons";
const char kIsAppKey[] = "isApp";
+const char kMayDisableKey[] = "mayDisable";
const char kPermissionsKey[] = "permissions";
const char kShowConfirmDialogKey[] = "showConfirmDialog";
const char kSizeKey[] = "size";
@@ -28,8 +29,8 @@
const char kManifestParseError[] = "Failed to parse manifest.";
const char kNoExtensionError[] = "Failed to find extension with id *";
const char kNotAnAppError[] = "Extension * is not an App";
+const char kUserCantModifyError[] = "Extension * cannot be modified by user";
const char kUninstallCanceledError[] = "Extension * uninstall canceled by user";
-const char kUserCantDisableError[] = "Extension * can not be disabled by user";
const char kUserDidNotReEnableError[] =
"The user did not accept the re-enable dialog";

Powered by Google App Engine
This is Rietveld 408576698