| Index: chrome/browser/ui/app_list/apps_model_builder.h
|
| diff --git a/chrome/browser/ui/app_list/apps_model_builder.h b/chrome/browser/ui/app_list/apps_model_builder.h
|
| index 0898dd900979ee700f64228bb4332f3e51c35ac2..48628967079f3f421287c862c2c0af58623f14bd 100644
|
| --- a/chrome/browser/ui/app_list/apps_model_builder.h
|
| +++ b/chrome/browser/ui/app_list/apps_model_builder.h
|
| @@ -27,6 +27,8 @@ namespace gfx {
|
| class ImageSkia;
|
| }
|
|
|
| +// This class populates and maintains the given |model| with information from
|
| +// |profile|.
|
| class AppsModelBuilder : public ui::ListModelObserver,
|
| public extensions::InstallObserver {
|
| public:
|
| @@ -35,12 +37,12 @@ class AppsModelBuilder : public ui::ListModelObserver,
|
| AppListControllerDelegate* controller);
|
| virtual ~AppsModelBuilder();
|
|
|
| - // Populates the model.
|
| - void Build();
|
| -
|
| // Returns app instance with id |extension_id|.
|
| ExtensionAppItem* GetApp(const std::string& extension_id);
|
|
|
| + // Rebuilds the model with the given profile.
|
| + void SwitchProfile(Profile* profile);
|
| +
|
| private:
|
| typedef std::vector<ExtensionAppItem*> Apps;
|
|
|
|
|