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

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

Issue 2099793002: mash: Migrate some system user files to common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_system_tray_delegate.h" 5 #include "ash/test/test_system_tray_delegate.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "ash/common/login_status.h"
9 #include "ash/common/session/session_state_delegate.h" 10 #include "ash/common/session/session_state_delegate.h"
10 #include "ash/shell.h" 11 #include "ash/shell.h"
11 #include "ash/system/user/login_status.h"
12 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 14
15 namespace ash { 15 namespace ash {
16 namespace test { 16 namespace test {
17 17
18 namespace { 18 namespace {
19 19
20 bool g_system_update_required = false; 20 bool g_system_update_required = false;
21 LoginStatus g_initial_status = LoginStatus::USER; 21 LoginStatus g_initial_status = LoginStatus::USER;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 *session_length_limit = session_length_limit_; 105 *session_length_limit = session_length_limit_;
106 return session_length_limit_set_; 106 return session_length_limit_set_;
107 } 107 }
108 108
109 void TestSystemTrayDelegate::SignOut() { 109 void TestSystemTrayDelegate::SignOut() {
110 base::MessageLoop::current()->QuitWhenIdle(); 110 base::MessageLoop::current()->QuitWhenIdle();
111 } 111 }
112 112
113 } // namespace test 113 } // namespace test
114 } // namespace ash 114 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698