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) { |