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

Unified Diff: chrome/browser/extensions/api/declarative/rules_registry_storage_delegate.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/api/declarative/rules_registry_storage_delegate.cc
diff --git a/chrome/browser/extensions/api/declarative/rules_registry_storage_delegate.cc b/chrome/browser/extensions/api/declarative/rules_registry_storage_delegate.cc
index 3f7131860de579c92468e2a364bb339e7d5f3141..f2120964d3245516708549489310e9c54c51fb01 100644
--- a/chrome/browser/extensions/api/declarative/rules_registry_storage_delegate.cc
+++ b/chrome/browser/extensions/api/declarative/rules_registry_storage_delegate.cc
@@ -178,7 +178,7 @@ void RulesRegistryStorageDelegate::Inner::Observe(
// TODO(mpcomplete): This API check should generalize to any use of
// declarative rules, not just webRequest.
if (extension->HasAPIPermission(
- ExtensionAPIPermission::kDeclarativeWebRequest)) {
+ APIPermission::kDeclarativeWebRequest)) {
ReadFromStorage(extension->id());
}
} else if (type == chrome::NOTIFICATION_EXTENSIONS_READY) {

Powered by Google App Engine
This is Rietveld 408576698