Index: chrome/browser/extensions/extension_tab_helper.cc |
diff --git a/chrome/browser/extensions/extension_tab_helper.cc b/chrome/browser/extensions/extension_tab_helper.cc |
index 2304299ed7ca692c9a84dadabc0f948bd764df26..3cf814ea31e94a365ddf4206688a1184d1ec434f 100644 |
--- a/chrome/browser/extensions/extension_tab_helper.cc |
+++ b/chrome/browser/extensions/extension_tab_helper.cc |
@@ -32,6 +32,7 @@ |
using content::RenderViewHost; |
using content::WebContents; |
+using extensions::APIPermission; |
using extensions::Extension; |
using extensions::PageActionController; |
using extensions::ScriptBadgeController; |
@@ -235,7 +236,7 @@ void ExtensionTabHelper::OnGetAppNotifyChannel( |
std::string error; |
if (!extension || |
!extension->HasAPIPermission( |
- ExtensionAPIPermission::kAppNotifications) || |
+ APIPermission::kAppNotifications) || |
!process_map->Contains(extension->id(), process->GetID())) |
error = kPermissionError; |