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

Unified Diff: chrome/browser/extensions/active_tab_permission_manager.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: Rebase again 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/active_tab_permission_manager.cc
diff --git a/chrome/browser/extensions/active_tab_permission_manager.cc b/chrome/browser/extensions/active_tab_permission_manager.cc
index 1c52caf84f98eb32fd2b15367e0e9f8cbe864ad2..130d63aaa10a0e2dae8755ccb3fc87b5543de0c0 100644
--- a/chrome/browser/extensions/active_tab_permission_manager.cc
+++ b/chrome/browser/extensions/active_tab_permission_manager.cc
@@ -12,7 +12,7 @@
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/extension_messages.h"
-#include "chrome/common/extensions/extension_permission_set.h"
+#include "chrome/common/extensions/permissions/permission_set.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_service.h"
@@ -38,7 +38,7 @@ ActiveTabPermissionManager::ActiveTabPermissionManager(
ActiveTabPermissionManager::~ActiveTabPermissionManager() {}
void ActiveTabPermissionManager::GrantIfRequested(const Extension* extension) {
- if (!extension->HasAPIPermission(ExtensionAPIPermission::kActiveTab))
+ if (!extension->HasAPIPermission(extensions::APIPermission::kActiveTab))
return;
if (active_urls_.is_empty())

Powered by Google App Engine
This is Rietveld 408576698