Index: chrome/browser/extensions/api/web_request/web_request_api.cc |
diff --git a/chrome/browser/extensions/api/web_request/web_request_api.cc b/chrome/browser/extensions/api/web_request/web_request_api.cc |
index ea0ae29ee9d87532a1afe209fabdc6f0c2690781..6b24f0991d9575fff94d7c781608dc3cceba9c5c 100644 |
--- a/chrome/browser/extensions/api/web_request/web_request_api.cc |
+++ b/chrome/browser/extensions/api/web_request/web_request_api.cc |
@@ -51,6 +51,7 @@ |
using content::BrowserMessageFilter; |
using content::BrowserThread; |
using content::ResourceRequestInfo; |
+using extensions::APIPermission; |
using extensions::Extension; |
namespace helpers = extension_web_request_api_helpers; |
@@ -1575,7 +1576,7 @@ bool WebRequestAddEventListener::RunImpl() { |
(ExtensionWebRequestEventRouter::ExtraInfoSpec::BLOCKING | |
ExtensionWebRequestEventRouter::ExtraInfoSpec::ASYNC_BLOCKING)) && |
!extension->HasAPIPermission( |
- ExtensionAPIPermission::kWebRequestBlocking)) { |
+ APIPermission::kWebRequestBlocking)) { |
error_ = keys::kBlockingPermissionRequired; |
return false; |
} |