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 58a3aaeaf4dc4c95971b607f5c62dbb3e735f2c9..ed877560453cfa772a67c00c71e9b5c1fec9dba5 100644 |
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc |
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc |
@@ -53,6 +53,7 @@ |
#include "ui/gfx/codec/png_codec.h" |
using content::WebContents; |
+using extensions::APIPermission; |
using extensions::Extension; |
namespace { |
@@ -146,7 +147,7 @@ void AppLauncherHandler::CreateAppInfo(const Extension* extension, |
value->SetBoolean("is_webstore", |
extension->id() == extension_misc::kWebStoreAppId); |
- if (extension->HasAPIPermission(ExtensionAPIPermission::kAppNotifications)) { |
+ if (extension->HasAPIPermission(APIPermission::kAppNotifications)) { |
value->SetBoolean("notifications_disabled", |
prefs->IsAppNotificationDisabled(extension->id())); |
} |