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

Unified Diff: chrome/browser/background/background_mode_manager.cc

Issue 10649003: 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 on HEAD 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/background/background_mode_manager.cc
diff --git a/chrome/browser/background/background_mode_manager.cc b/chrome/browser/background/background_mode_manager.cc
index 3cd9d07ce546db195f1140fb3165656cb7c14a75..6903ac2dbda4447d6d7918c397eb81da0e087f7b 100644
--- a/chrome/browser/background/background_mode_manager.cc
+++ b/chrome/browser/background/background_mode_manager.cc
@@ -313,7 +313,7 @@ void BackgroundModeManager::Observe(
UpdatedExtensionPermissionsInfo* info =
content::Details<UpdatedExtensionPermissionsInfo>(details).ptr();
if (info->permissions->HasAPIPermission(
- ExtensionAPIPermission::kBackground) &&
+ extensions::APIPermission::kBackground) &&
info->reason == UpdatedExtensionPermissionsInfo::ADDED) {
// Turned on background permission, so treat this as a new install.
OnBackgroundAppInstalled(info->extension);

Powered by Google App Engine
This is Rietveld 408576698