Chromium Code Reviews| Index: chrome/browser/ui/ash/chrome_shell_delegate.h |
| diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.h b/chrome/browser/ui/ash/chrome_shell_delegate.h |
| index c3caca13294c5461950c633d42581e600fff07f5..5b74f92e179dc4ac4bef2437a83f4fd0c0d37ca8 100644 |
| --- a/chrome/browser/ui/ash/chrome_shell_delegate.h |
| +++ b/chrome/browser/ui/ash/chrome_shell_delegate.h |
| @@ -18,10 +18,6 @@ |
| #include "content/public/browser/notification_observer.h" |
| #include "content/public/browser/notification_registrar.h" |
| -#if defined(OS_CHROMEOS) |
| -#include "ash/shell_observer.h" |
| -#endif |
| - |
| class Browser; |
| namespace ash { |
| @@ -92,21 +88,6 @@ class ChromeShellDelegate : public ash::ShellDelegate, |
| const content::NotificationDetails& details) override; |
| private: |
| -#if defined(OS_CHROMEOS) |
| - // An Observer to track session state and start/stop ARC accordingly. |
| - class ArcSessionObserver : public ash::ShellObserver { |
|
khmel
2016/01/22 21:55:24
We had 2 points to handle user login. I removed th
|
| - public: |
| - ArcSessionObserver(); |
| - ~ArcSessionObserver() override; |
| - |
| - // ash::ShellObserver overrides: |
| - void OnLoginStateChanged(ash::user::LoginStatus status) override; |
| - |
| - private: |
| - DISALLOW_COPY_AND_ASSIGN(ArcSessionObserver); |
| - }; |
| -#endif |
| - |
| void PlatformInit(); |
| static ChromeShellDelegate* instance_; |
| @@ -124,9 +105,6 @@ class ChromeShellDelegate : public ash::ShellDelegate, |
| #if defined(OS_CHROMEOS) |
| scoped_ptr<chromeos::DisplayConfigurationObserver> |
| display_configuration_observer_; |
| - |
| - // An Observer to track session state and start/stop ARC accordingly. |
| - scoped_ptr<ArcSessionObserver> arc_session_observer_; |
| #endif |
| DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |