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

Side by Side Diff: ash/session_state_delegate_stub.cc

Issue 15718003: Add SessionStateObserver with ActiveUserChanged() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge & add SessionStateDelegateChromeos Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/session_state_delegate_stub.h ('k') | ash/session_state_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "ash/session_state_delegate_stub.h" 5 #include "ash/session_state_delegate_stub.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/shell/example_factory.h" 8 #include "ash/shell/example_factory.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 const std::string SessionStateDelegateStub::GetUserEmail( 56 const std::string SessionStateDelegateStub::GetUserEmail(
57 MultiProfileIndex index) const { 57 MultiProfileIndex index) const {
58 return "stub-user@domain.com"; 58 return "stub-user@domain.com";
59 } 59 }
60 60
61 const gfx::ImageSkia& SessionStateDelegateStub::GetUserImage( 61 const gfx::ImageSkia& SessionStateDelegateStub::GetUserImage(
62 MultiProfileIndex index) const { 62 MultiProfileIndex index) const {
63 return null_image_; 63 return null_image_;
64 } 64 }
65 65
66 void SessionStateDelegateStub::GetLoggedInUsers( 66 void SessionStateDelegateStub::GetLoggedInUsers(UserIdList* users) {
67 UserEmailList* users) {
68 } 67 }
69 68
70 void SessionStateDelegateStub::SwitchActiveUser(const std::string& email) { 69 void SessionStateDelegateStub::SwitchActiveUser(const std::string& user_id) {
70 }
71
72 void SessionStateDelegateStub::AddSessionStateObserver(
73 ash::SessionStateObserver* observer) {
74 }
75
76 void SessionStateDelegateStub::RemoveSessionStateObserver(
77 ash::SessionStateObserver* observer) {
71 } 78 }
72 79
73 } // namespace ash 80 } // namespace ash
OLDNEW
« no previous file with comments | « ash/session_state_delegate_stub.h ('k') | ash/session_state_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698