Chromium Code Reviews| Index: chrome/browser/ui/ash/launcher/multi_profile_shell_window_launcher_controller.h |
| diff --git a/chrome/browser/ui/ash/launcher/multi_profile_shell_window_launcher_controller.h b/chrome/browser/ui/ash/launcher/multi_profile_shell_window_launcher_controller.h |
| index 091f18c8df2cbd2f96357fec1417a7094613c318..9deb9eae4aa10a34f5900795bb583d531358527d 100644 |
| --- a/chrome/browser/ui/ash/launcher/multi_profile_shell_window_launcher_controller.h |
| +++ b/chrome/browser/ui/ash/launcher/multi_profile_shell_window_launcher_controller.h |
| @@ -9,6 +9,7 @@ |
| // Inherits from ShellWindowLauncherController and overwrites the ShellWindow |
| // observing functions to switch between users dynamically. |
| +// TODO(jamescook): Rename this to MultiProfileAppWindowLauncherController. |
|
scheib
2014/02/15 00:12:35
issue number?
|
| class MultiProfileShellWindowLauncherController |
| : public ShellWindowLauncherController { |
| public: |
| @@ -20,19 +21,19 @@ class MultiProfileShellWindowLauncherController |
| virtual void ActiveUserChanged(const std::string& user_email) OVERRIDE; |
| virtual void AdditionalUserAddedToSession(Profile* profile) OVERRIDE; |
| - // Overridden from ShellWindowRegistry::Observer: |
| - virtual void OnShellWindowAdded(apps::ShellWindow* shell_window) OVERRIDE; |
| - virtual void OnShellWindowRemoved(apps::ShellWindow* shell_window) OVERRIDE; |
| + // Overridden from AppWindowRegistry::Observer: |
| + virtual void OnAppWindowAdded(apps::AppWindow* app_window) OVERRIDE; |
| + virtual void OnAppWindowRemoved(apps::AppWindow* app_window) OVERRIDE; |
| private: |
| - typedef std::vector<apps::ShellWindow*> ShellWindowList; |
| - typedef std::vector<apps::ShellWindowRegistry*> ShellWindowRegistryList; |
| + typedef std::vector<apps::AppWindow*> AppWindowList; |
| + typedef std::vector<apps::AppWindowRegistry*> AppWindowRegistryList; |
| - // A list of all shell windows for all users. |
| - ShellWindowList shell_window_list_; |
| + // A list of all app windows for all users. |
| + AppWindowList app_window_list_; |
| - // A list of the shell window registries which we additionally observe. |
| - ShellWindowRegistryList multi_user_registry_; |
| + // A list of the app window registries which we additionally observe. |
| + AppWindowRegistryList multi_user_registry_; |
| DISALLOW_COPY_AND_ASSIGN(MultiProfileShellWindowLauncherController); |
| }; |