| Index: ash/mus/shell_delegate_mus.cc
|
| diff --git a/ash/mus/shell_delegate_mus.cc b/ash/mus/shell_delegate_mus.cc
|
| index b068bc95b90043fd1c8bd34d19f77e5451e5b6a6..744ec665c27d2721d16c30258422242c142ed760 100644
|
| --- a/ash/mus/shell_delegate_mus.cc
|
| +++ b/ash/mus/shell_delegate_mus.cc
|
| @@ -12,7 +12,6 @@
|
| #include "ash/mus/system_tray_delegate_mus.h"
|
| #include "ash/mus/wallpaper_delegate_mus.h"
|
| #include "ash/palette_delegate.h"
|
| -#include "ash/session/session_state_delegate.h"
|
| #include "base/memory/ptr_util.h"
|
| #include "base/strings/string16.h"
|
| #include "base/strings/string_util.h"
|
| @@ -20,32 +19,6 @@
|
| #include "ui/gfx/image/image.h"
|
|
|
| namespace ash {
|
| -namespace {
|
| -
|
| -class SessionStateDelegateStub : public SessionStateDelegate {
|
| - public:
|
| - SessionStateDelegateStub() : user_info_(new user_manager::UserInfoImpl()) {}
|
| -
|
| - ~SessionStateDelegateStub() override {}
|
| -
|
| - // SessionStateDelegate:
|
| - bool ShouldShowAvatar(WmWindow* window) const override {
|
| - NOTIMPLEMENTED();
|
| - return !user_info_->GetImage().isNull();
|
| - }
|
| - gfx::ImageSkia GetAvatarImageForWindow(WmWindow* window) const override {
|
| - NOTIMPLEMENTED();
|
| - return gfx::ImageSkia();
|
| - }
|
| -
|
| - private:
|
| - // A pseudo user info.
|
| - std::unique_ptr<user_manager::UserInfo> user_info_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(SessionStateDelegateStub);
|
| -};
|
| -
|
| -} // namespace
|
|
|
| ShellDelegateMus::ShellDelegateMus(service_manager::Connector* connector)
|
| : connector_(connector) {}
|
| @@ -118,12 +91,6 @@ std::unique_ptr<WallpaperDelegate> ShellDelegateMus::CreateWallpaperDelegate() {
|
| return base::MakeUnique<WallpaperDelegateMus>();
|
| }
|
|
|
| -SessionStateDelegate* ShellDelegateMus::CreateSessionStateDelegate() {
|
| - // TODO: http://crbug.com/647416.
|
| - NOTIMPLEMENTED() << " Using a stub SessionStateDeleagte implementation";
|
| - return new SessionStateDelegateStub;
|
| -}
|
| -
|
| AccessibilityDelegate* ShellDelegateMus::CreateAccessibilityDelegate() {
|
| return new AccessibilityDelegateMus(connector_);
|
| }
|
|
|