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

Unified Diff: chrome/common/extensions/extension_constants.cc

Issue 8654001: Reland restrict extension features based on the extension type. (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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/extension_constants.cc
diff --git a/chrome/common/extensions/extension_constants.cc b/chrome/common/extensions/extension_constants.cc
index 85bfd52a2eb1505d9ee10e781b41dc47eab957c8..ea0f1da216b0d86b27aae19ee93b2576d8e5bfe1 100644
--- a/chrome/common/extensions/extension_constants.cc
+++ b/chrome/common/extensions/extension_constants.cc
@@ -165,8 +165,8 @@ const char* kExpectString = "Expect string value.";
const char* kExperimentalFlagRequired =
"Loading extensions with 'experimental' permission requires"
" --enable-experimental-extension-apis command line flag.";
-const char* kHostedAppsCannotIncludeExtensionFeatures =
- "Hosted apps cannot use the extension feature '*'.";
+const char* kFeatureNotAllowed =
+ "Access to '*' denied.";
Aaron Boodman 2011/11/23 01:45:25 Would be nice to have a slightly more descriptive
jstritar 2011/11/28 23:09:56 Done.
const char* kInvalidAllFrames =
"Invalid value for 'content_scripts[*].all_frames'.";
const char* kInvalidBackground =
@@ -426,8 +426,6 @@ const char* kReservedMessageFound =
const char* kSidebarExperimental =
"You must request the 'experimental' permission in order to use the"
" Sidebar API.";
-const char* kThemesCannotContainExtensions =
- "A theme cannot contain extensions code.";
#if defined(OS_CHROMEOS)
const char* kIllegalPlugins =
"Extensions cannot install plugins on Chrome OS";

Powered by Google App Engine
This is Rietveld 408576698