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

Unified Diff: chrome/browser/extensions/settings/settings_frontend.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/settings/settings_frontend.cc
diff --git a/chrome/browser/extensions/settings/settings_frontend.cc b/chrome/browser/extensions/settings/settings_frontend.cc
index 531bd1cb97c6dec22c2c4d56bbac84f00446f50f..64ebe9f6adf002e8d9b17d3d6eca410d8b272aa7 100644
--- a/chrome/browser/extensions/settings/settings_frontend.cc
+++ b/chrome/browser/extensions/settings/settings_frontend.cc
@@ -303,7 +303,7 @@ void SettingsFrontend::RunWithStorage(
// storage is allowed to be unlimited).
bool is_unlimited =
settings_namespace == settings_namespace::LOCAL &&
- extension->HasAPIPermission(ExtensionAPIPermission::kUnlimitedStorage);
+ extension->HasAPIPermission(APIPermission::kUnlimitedStorage);
scoped_refptr<BackendWrapper> backend;
if (extension->is_app()) {

Powered by Google App Engine
This is Rietveld 408576698