Index: chrome/browser/extensions/convert_web_app_browsertest.cc |
diff --git a/chrome/browser/extensions/convert_web_app_browsertest.cc b/chrome/browser/extensions/convert_web_app_browsertest.cc |
index 7ec70b9eae14cfd0782eee97ef1789707b45d01e..2d8d30afc6180b1c611d5bb3d7f28944145e49cb 100644 |
--- a/chrome/browser/extensions/convert_web_app_browsertest.cc |
+++ b/chrome/browser/extensions/convert_web_app_browsertest.cc |
@@ -17,6 +17,8 @@ |
#include "content/public/browser/notification_registrar.h" |
#include "content/public/browser/notification_service.h" |
+using extensions::APIPermission; |
+ |
class ExtensionFromWebAppTest |
: public InProcessBrowserTest, public content::NotificationObserver { |
protected: |
@@ -74,9 +76,9 @@ IN_PROC_BROWSER_TEST_F(ExtensionFromWebAppTest, Basic) { |
ASSERT_EQ(2u, installed_extension_->GetActivePermissions()->apis().size()); |
EXPECT_TRUE(installed_extension_->HasAPIPermission( |
- ExtensionAPIPermission::kGeolocation)); |
+ APIPermission::kGeolocation)); |
EXPECT_TRUE(installed_extension_->HasAPIPermission( |
- ExtensionAPIPermission::kNotification)); |
+ APIPermission::kNotification)); |
ASSERT_EQ(3u, installed_extension_->icons().map().size()); |
EXPECT_EQ("icons/16.png", installed_extension_->icons().Get( |