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

Unified Diff: ash/test/test_session_state_delegate.cc

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/test/test_session_state_animator.cc ('k') | ash/test/test_shelf_delegate.cc » ('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 2d91b7ba16d72e267270b1413d7cb20ebce505a4..023a17aeed4d4ae29b0a28e90f824718e56962bf 100644
--- a/ash/test/test_session_state_delegate.cc
+++ b/ash/test/test_session_state_delegate.cc
@@ -200,8 +200,7 @@ void TestSessionStateDelegate::SetUserAddingScreenRunning(
session_state_ = SESSION_STATE_ACTIVE;
}
-void TestSessionStateDelegate::SetUserImage(
- const gfx::ImageSkia& user_image) {
+void TestSessionStateDelegate::SetUserImage(const gfx::ImageSkia& user_image) {
user_list_[active_user_index_]->SetUserImage(user_image);
}
@@ -226,8 +225,7 @@ void TestSessionStateDelegate::SwitchActiveUser(const AccountId& account_id) {
GetUserIdFromEmail(account_id.GetUserEmail()));
active_user_index_ = 0;
for (std::vector<MockUserInfo*>::iterator iter = user_list_.begin();
- iter != user_list_.end();
- ++iter) {
+ iter != user_list_.end(); ++iter) {
if ((*iter)->GetAccountId() == account_id) {
active_user_index_ = iter - user_list_.begin();
return;
@@ -246,12 +244,10 @@ bool TestSessionStateDelegate::IsMultiProfileAllowedByPrimaryUserPolicy()
}
void TestSessionStateDelegate::AddSessionStateObserver(
- SessionStateObserver* observer) {
-}
+ SessionStateObserver* observer) {}
void TestSessionStateDelegate::RemoveSessionStateObserver(
- SessionStateObserver* observer) {
-}
+ SessionStateObserver* observer) {}
} // namespace test
} // namespace ash
« no previous file with comments | « ash/test/test_session_state_animator.cc ('k') | ash/test/test_shelf_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698