| Index: ash/shell/shell_delegate_impl.cc
|
| diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc
|
| index e9112bac622fa58e48c0fb014306e3919a763860..6958fe8310feb8140f4e8544622b1b9149af4500 100644
|
| --- a/ash/shell/shell_delegate_impl.cc
|
| +++ b/ash/shell/shell_delegate_impl.cc
|
| @@ -10,7 +10,6 @@
|
| #include "ash/gpu_support_stub.h"
|
| #include "ash/palette_delegate.h"
|
| #include "ash/public/cpp/shell_window_ids.h"
|
| -#include "ash/session/session_state_delegate.h"
|
| #include "ash/shell.h"
|
| #include "ash/shell/context_menu.h"
|
| #include "ash/shell/example_factory.h"
|
| @@ -59,27 +58,6 @@ class PaletteDelegateImpl : public PaletteDelegate {
|
| DISALLOW_COPY_AND_ASSIGN(PaletteDelegateImpl);
|
| };
|
|
|
| -class SessionStateDelegateImpl : public SessionStateDelegate {
|
| - public:
|
| - SessionStateDelegateImpl() : user_info_(new user_manager::UserInfoImpl()) {}
|
| -
|
| - ~SessionStateDelegateImpl() override {}
|
| -
|
| - // SessionStateDelegate:
|
| - bool ShouldShowAvatar(WmWindow* window) const override {
|
| - return !user_info_->GetImage().isNull();
|
| - }
|
| - gfx::ImageSkia GetAvatarImageForWindow(WmWindow* window) const override {
|
| - return gfx::ImageSkia();
|
| - }
|
| -
|
| - private:
|
| - // A pseudo user info.
|
| - std::unique_ptr<user_manager::UserInfo> user_info_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(SessionStateDelegateImpl);
|
| -};
|
| -
|
| } // namespace
|
|
|
| ShellDelegateImpl::ShellDelegateImpl() {}
|
| @@ -137,10 +115,6 @@ ShellDelegateImpl::CreateWallpaperDelegate() {
|
| return base::MakeUnique<DefaultWallpaperDelegate>();
|
| }
|
|
|
| -SessionStateDelegate* ShellDelegateImpl::CreateSessionStateDelegate() {
|
| - return new SessionStateDelegateImpl;
|
| -}
|
| -
|
| AccessibilityDelegate* ShellDelegateImpl::CreateAccessibilityDelegate() {
|
| return new DefaultAccessibilityDelegate;
|
| }
|
|
|