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

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

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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 8d7a288e86a5cf780f8f0f35df3dc133d52de8e5..69bd254f6860e153bba13346f74e02dc34b3c809 100644
--- a/chrome/browser/background/background_mode_manager.cc
+++ b/chrome/browser/background/background_mode_manager.cc
@@ -42,6 +42,8 @@
#include "ui/base/resource/resource_bundle.h"
using content::UserMetricsAction;
+using extensions::Extension;
+using extensions::UpdatedExtensionPermissionsInfo;
BackgroundModeManager::BackgroundModeData::BackgroundModeData(
int command_id,
@@ -80,7 +82,8 @@ void BackgroundModeManager::BackgroundModeData::ExecuteCommand(int item) {
break;
default:
// Launch the app associated with this item.
- const Extension* extension = applications_->GetExtension(item);
+ const Extension* extension = applications_->
+ GetExtension(item);
BackgroundModeManager::LaunchBackgroundApplication(profile_, extension);
break;
}
@@ -109,7 +112,8 @@ void BackgroundModeManager::BackgroundModeData::BuildProfileMenu(
menu->AddItemWithStringId(IDC_MinimumLabelValue,
IDS_BACKGROUND_APP_NOT_INSTALLED);
} else {
- for (ExtensionList::const_iterator cursor = applications_->begin();
+ for (extensions::ExtensionList::const_iterator cursor =
+ applications_->begin();
cursor != applications_->end();
++cursor, ++position) {
const SkBitmap* icon = applications_->GetIcon(*cursor);
« no previous file with comments | « chrome/browser/background/background_mode_manager.h ('k') | chrome/browser/background/background_mode_manager_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698