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

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

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 2 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_application_list_model.cc
diff --git a/chrome/browser/background/background_application_list_model.cc b/chrome/browser/background/background_application_list_model.cc
index a414cf14cee9f2de830bf70660756c91fff1a2be..27a098cba99edeea5f8495699367953abee07ba7 100644
--- a/chrome/browser/background/background_application_list_model.cc
+++ b/chrome/browser/background/background_application_list_model.cc
@@ -27,10 +27,16 @@
#include "ui/base/l10n/l10n_util_collator.h"
#include "ui/gfx/image/image.h"
+using extensions::Extension;
+using extensions::ExtensionList;
+using extensions::UnloadedExtensionInfo;
+using extensions::UpdatedExtensionPermissionsInfo;
+
class ExtensionNameComparator {
public:
explicit ExtensionNameComparator(icu::Collator* collator);
- bool operator()(const Extension* x, const Extension* y);
+ bool operator()(const Extension* x,
sky 2012/05/14 15:00:07 Leave this the way it was.
mitchellwrosen 2012/05/18 22:53:16 Done.
+ const Extension* y);
private:
icu::Collator* collator_;
@@ -228,7 +234,8 @@ BackgroundApplicationListModel::FindApplication(
}
BackgroundApplicationListModel::Application*
-BackgroundApplicationListModel::FindApplication(const Extension* extension) {
+BackgroundApplicationListModel::FindApplication(
+ const Extension* extension) {
const std::string& id = extension->id();
ApplicationMap::iterator found = applications_.find(id);
return (found == applications_.end()) ? NULL : found->second;

Powered by Google App Engine
This is Rietveld 408576698