Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2593)

Unified Diff: ash/test/test_session_state_delegate.cc

Issue 197773004: Move avatar holder code to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang fix Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/test/test_session_state_delegate.h ('k') | chrome/app/theme/default_100_percent/cros/avatar_holder.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_session_state_delegate.cc
diff --git a/ash/test/test_session_state_delegate.cc b/ash/test/test_session_state_delegate.cc
index e1085c02422b1fcc37d1a62586e5ac6dddd24cd6..722981f984e311dc49396bb51e464925a85b36f8 100644
--- a/ash/test/test_session_state_delegate.cc
+++ b/ash/test/test_session_state_delegate.cc
@@ -40,6 +40,12 @@ TestSessionStateDelegate::TestSessionStateDelegate()
TestSessionStateDelegate::~TestSessionStateDelegate() {
}
+content::BrowserContext*
+TestSessionStateDelegate::GetBrowserContextByIndex(
+ MultiProfileIndex index) {
+ return NULL;
+}
+
int TestSessionStateDelegate::GetMaximumNumberOfLoggedInUsers() const {
return 3;
}
@@ -133,11 +139,12 @@ const std::string TestSessionStateDelegate::GetUserID(
}
const gfx::ImageSkia& TestSessionStateDelegate::GetUserImage(
- MultiProfileIndex index) const {
+ content::BrowserContext* context) const {
return null_image_;
}
-void TestSessionStateDelegate::GetLoggedInUsers(UserIdList* users) {
+bool TestSessionStateDelegate::ShouldShowAvatar(aura::Window* window) {
+ return false;
}
void TestSessionStateDelegate::SwitchActiveUser(const std::string& user_id) {
« no previous file with comments | « ash/test/test_session_state_delegate.h ('k') | chrome/app/theme/default_100_percent/cros/avatar_holder.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698