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

Side by Side Diff: ash/test/test_session_state_delegate.cc

Issue 15718003: Add SessionStateObserver with ActiveUserChanged() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge & reviews 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
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/test/test_session_state_delegate.h" 5 #include "ash/test/test_session_state_delegate.h"
6 6
7 #include "base/string16.h" 7 #include "base/string16.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 9
10 namespace ash { 10 namespace ash {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 return null_image_; 88 return null_image_;
89 } 89 }
90 90
91 void TestSessionStateDelegate::GetLoggedInUsers(UserEmailList* users) { 91 void TestSessionStateDelegate::GetLoggedInUsers(UserEmailList* users) {
92 } 92 }
93 93
94 void TestSessionStateDelegate::SwitchActiveUser(const std::string& email) { 94 void TestSessionStateDelegate::SwitchActiveUser(const std::string& email) {
95 activated_user_ = email; 95 activated_user_ = email;
96 } 96 }
97 97
98 void TestSessionStateDelegate::AddSessionStateObserver(
99 ash::SessionStateObserver* observer) {
100 }
101
102 void TestSessionStateDelegate::RemoveSessionStateObserver(
103 ash::SessionStateObserver* observer) {
104 }
98 105
99 } // namespace test 106 } // namespace test
100 } // namespace ash 107 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698