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; |