OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "base/basictypes.h" | 5 #include "base/basictypes.h" |
| 6 #include "base/command_line.h" |
6 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
7 #include "base/prefs/pref_service.h" | 8 #include "base/prefs/pref_service.h" |
8 #include "chrome/browser/chromeos/login/login_manager_test.h" | 9 #include "chrome/browser/chromeos/login/login_manager_test.h" |
9 #include "chrome/browser/chromeos/login/startup_utils.h" | 10 #include "chrome/browser/chromeos/login/startup_utils.h" |
10 #include "chrome/browser/chromeos/login/ui/user_adding_screen.h" | 11 #include "chrome/browser/chromeos/login/ui/user_adding_screen.h" |
11 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 12 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
12 #include "chrome/browser/chromeos/settings/cros_settings.h" | 13 #include "chrome/browser/chromeos/settings/cros_settings.h" |
13 #include "chrome/browser/chromeos/settings/stub_cros_settings_provider.h" | 14 #include "chrome/browser/chromeos/settings/stub_cros_settings_provider.h" |
14 #include "chrome/browser/ui/browser.h" | 15 #include "chrome/browser/ui/browser.h" |
15 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 16 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 AddUser(kTestUsers[1]); | 135 AddUser(kTestUsers[1]); |
135 | 136 |
136 user_manager::UserManager* manager = user_manager::UserManager::Get(); | 137 user_manager::UserManager* manager = user_manager::UserManager::Get(); |
137 ASSERT_EQ(2u, manager->GetLoggedInUsers().size()); | 138 ASSERT_EQ(2u, manager->GetLoggedInUsers().size()); |
138 | 139 |
139 CheckAccountsUI(manager->FindUser(kTestUsers[0]), true /* is_owner */); | 140 CheckAccountsUI(manager->FindUser(kTestUsers[0]), true /* is_owner */); |
140 CheckAccountsUI(manager->FindUser(kTestUsers[1]), false /* is_owner */); | 141 CheckAccountsUI(manager->FindUser(kTestUsers[1]), false /* is_owner */); |
141 } | 142 } |
142 | 143 |
143 } // namespace chromeos | 144 } // namespace chromeos |
OLD | NEW |