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

Unified Diff: chrome/browser/extensions/extension_info_map.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/extension_info_map.cc
diff --git a/chrome/browser/extensions/extension_info_map.cc b/chrome/browser/extensions/extension_info_map.cc
index 8401ceb01cd714d39c42bc1d09d17b89674a44d0..39357c11e1ec20ed293ebd9599940c93253c61e4 100644
--- a/chrome/browser/extensions/extension_info_map.cc
+++ b/chrome/browser/extensions/extension_info_map.cc
@@ -124,7 +124,7 @@ void ExtensionInfoMap::UnregisterAllExtensionsInProcess(int process_id) {
bool ExtensionInfoMap::SecurityOriginHasAPIPermission(
const GURL& origin, int process_id,
- ExtensionAPIPermission::ID permission) const {
+ extensions::APIPermission::ID permission) const {
if (origin.SchemeIs(chrome::kExtensionScheme)) {
const std::string& id = origin.host();
return extensions_.GetByID(id)->HasAPIPermission(permission) &&

Powered by Google App Engine
This is Rietveld 408576698