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

Unified Diff: chrome/browser/ui/webui/ntp/app_launcher_handler.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/ui/webui/ntp/app_launcher_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
index 256f392bf9c1819ff959c40a4e6c8eae98608650..f45e39e536617fcfda7593077b1b7b382a629aad 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
@@ -117,7 +117,7 @@ void AppLauncherHandler::CreateAppInfo(const Extension* extension,
!service->GetTerminatedExtension(extension->id());
extension->GetBasicInfo(enabled, value);
- value->SetBoolean("mayDisable", ExtensionSystem::Get(
+ value->SetBoolean("mayDisable", extensions::ExtensionSystem::Get(
service->profile())->management_policy()->UserMayModifySettings(
extension, NULL));
@@ -598,8 +598,8 @@ void AppLauncherHandler::HandleUninstallApp(const ListValue* args) {
if (!extension)
return;
- if (!ExtensionSystem::Get(extension_service_->profile())->
- management_policy()->UserMayModifySettings(extension, NULL)) {
+ if (!extensions::ExtensionSystem::Get(extension_service_->profile())->
+ management_policy()->UserMayModifySettings(extension, NULL)) {
LOG(ERROR) << "Attempt to uninstall an extension that is non-usermanagable "
<< "was made. Extension id : " << extension->id();
return;
« no previous file with comments | « chrome/browser/ui/webui/extensions/install_extension_handler.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698