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