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

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

Issue 10626007: Move ExtensionSystem into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Master merge; moved class declaration Created 8 years, 5 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_context_menu_model.cc
diff --git a/chrome/browser/extensions/extension_context_menu_model.cc b/chrome/browser/extensions/extension_context_menu_model.cc
index b6a76eda10818f80a0f7092532ffe1ae41285c47..f38f248620653876f611869ec39b5ec8d65856f6 100644
--- a/chrome/browser/extensions/extension_context_menu_model.cc
+++ b/chrome/browser/extensions/extension_context_menu_model.cc
@@ -83,7 +83,7 @@ bool ExtensionContextMenuModel::IsCommandIdEnabled(int command_id) const {
tab_contents->extension_tab_helper()->tab_id());
} else if (command_id == DISABLE || command_id == UNINSTALL) {
// Some extension types can not be disabled or uninstalled.
- return ExtensionSystem::Get(
+ return extensions::ExtensionSystem::Get(
profile_)->management_policy()->UserMayModifySettings(extension, NULL);
}
return true;

Powered by Google App Engine
This is Rietveld 408576698