Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3849)

Unified Diff: chrome/browser/extensions/convert_web_app_browsertest.cc

Issue 10675007: Move each permission classes to its own files in extensions/permissions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(

Powered by Google App Engine
This is Rietveld 408576698