| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/ash/session_state_delegate_views.h" | 5 #include "chrome/browser/ui/ash/session_state_delegate_views.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
| 10 #include "ui/gfx/image/image_skia.h" | 10 #include "ui/gfx/image/image_skia.h" |
| 11 | 11 |
| 12 namespace { | |
| 13 // This isn't really used. It is mainly here to make the compiler happy. | |
| 14 gfx::ImageSkia null_image; | |
| 15 } | |
| 16 | |
| 17 SessionStateDelegate::SessionStateDelegate() { | 12 SessionStateDelegate::SessionStateDelegate() { |
| 18 } | 13 } |
| 19 | 14 |
| 20 SessionStateDelegate::~SessionStateDelegate() { | 15 SessionStateDelegate::~SessionStateDelegate() { |
| 21 } | 16 } |
| 22 | 17 |
| 23 content::BrowserContext* SessionStateDelegate::GetBrowserContextByIndex( | 18 content::BrowserContext* SessionStateDelegate::GetBrowserContextByIndex( |
| 24 ash::MultiProfileIndex index) { | 19 ash::MultiProfileIndex index) { |
| 25 NOTIMPLEMENTED(); | 20 NOTIMPLEMENTED(); |
| 26 return NULL; | 21 return NULL; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 const std::string SessionStateDelegate::GetUserID( | 87 const std::string SessionStateDelegate::GetUserID( |
| 93 ash::MultiProfileIndex index) const { | 88 ash::MultiProfileIndex index) const { |
| 94 NOTIMPLEMENTED(); | 89 NOTIMPLEMENTED(); |
| 95 return ""; | 90 return ""; |
| 96 } | 91 } |
| 97 | 92 |
| 98 const gfx::ImageSkia& SessionStateDelegate::GetUserImage( | 93 const gfx::ImageSkia& SessionStateDelegate::GetUserImage( |
| 99 content::BrowserContext* context) const { | 94 content::BrowserContext* context) const { |
| 100 NOTIMPLEMENTED(); | 95 NOTIMPLEMENTED(); |
| 101 // To make the compiler happy. | 96 // To make the compiler happy. |
| 102 return null_image; | 97 return null_image_; |
| 103 } | 98 } |
| 104 | 99 |
| 105 bool SessionStateDelegate::ShouldShowAvatar(aura::Window* window) { | 100 bool SessionStateDelegate::ShouldShowAvatar(aura::Window* window) { |
| 106 return false; | 101 return false; |
| 107 } | 102 } |
| 108 | 103 |
| 109 void SessionStateDelegate::SwitchActiveUser(const std::string& user_id) { | 104 void SessionStateDelegate::SwitchActiveUser(const std::string& user_id) { |
| 110 NOTIMPLEMENTED(); | 105 NOTIMPLEMENTED(); |
| 111 } | 106 } |
| 112 | 107 |
| 113 void SessionStateDelegate::CycleActiveUser(CycleUser cycle_user) { | 108 void SessionStateDelegate::CycleActiveUser(CycleUser cycle_user) { |
| 114 NOTIMPLEMENTED(); | 109 NOTIMPLEMENTED(); |
| 115 } | 110 } |
| 116 | 111 |
| 117 void SessionStateDelegate::AddSessionStateObserver( | 112 void SessionStateDelegate::AddSessionStateObserver( |
| 118 ash::SessionStateObserver* observer) { | 113 ash::SessionStateObserver* observer) { |
| 119 NOTIMPLEMENTED(); | 114 NOTIMPLEMENTED(); |
| 120 } | 115 } |
| 121 | 116 |
| 122 void SessionStateDelegate::RemoveSessionStateObserver( | 117 void SessionStateDelegate::RemoveSessionStateObserver( |
| 123 ash::SessionStateObserver* observer) { | 118 ash::SessionStateObserver* observer) { |
| 124 NOTIMPLEMENTED(); | 119 NOTIMPLEMENTED(); |
| 125 } | 120 } |
| OLD | NEW |