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

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

Issue 7981002: Fix crash by preventing extensions from changing their IDs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update comment Created 9 years, 3 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/common/extensions/extension_constants.cc
diff --git a/chrome/common/extensions/extension_constants.cc b/chrome/common/extensions/extension_constants.cc
index 91000a5adf68b56400aff2db7aa70b73f6a75147..621fb63f50848f7c5344a1755cb0f3970649c461 100644
--- a/chrome/common/extensions/extension_constants.cc
+++ b/chrome/common/extensions/extension_constants.cc
@@ -144,6 +144,8 @@ const char* kBackgroundPermissionNeeded =
const char* kCannotAccessPage =
"Cannot access contents of url \"*\". "
"Extension manifest must request permission to access this host.";
+const char* kCannotChangeExtensionID =
+ "Installed extensions cannot change their IDs.";
const char* kCannotClaimAllHostsInExtent =
"Cannot claim all hosts ('*') in an extent.";
const char* kCannotClaimAllURLsInExtent =

Powered by Google App Engine
This is Rietveld 408576698