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 92e6b6f91e9fdc6e1f1295811c4b2ab8f5644257..7cd07b4981e426c11bd0a9fde8add8f443cceb59 100644 |
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc |
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc |
@@ -146,7 +146,8 @@ void AppLauncherHandler::CreateAppInfo(const Extension* extension, |
value->SetBoolean("is_webstore", |
extension->id() == extension_misc::kWebStoreAppId); |
- if (extension->HasAPIPermission(ExtensionAPIPermission::kAppNotifications)) { |
+ if (extension->HasAPIPermission( |
+ extensions::APIPermission::kAppNotifications)) { |
value->SetBoolean("notifications_disabled", |
prefs->IsAppNotificationDisabled(extension->id())); |
} |