| 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 <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
| 9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
| 10 #include "base/threading/sequenced_worker_pool.h" | 10 #include "base/threading/sequenced_worker_pool.h" |
| 11 #include "chrome/browser/chrome_notification_types.h" | 11 #include "chrome/browser/chrome_notification_types.h" |
| 12 #include "chrome/browser/chromeos/login/login_display_host_impl.h" | 12 #include "chrome/browser/chromeos/login/login_display_host_impl.h" |
| 13 #include "chrome/browser/chromeos/login/login_manager_test.h" | |
| 14 #include "chrome/browser/chromeos/login/managed/managed_user_test_base.h" | 13 #include "chrome/browser/chromeos/login/managed/managed_user_test_base.h" |
| 15 #include "chrome/browser/chromeos/login/managed/supervised_user_authentication.h
" | 14 #include "chrome/browser/chromeos/login/managed/supervised_user_authentication.h
" |
| 16 #include "chrome/browser/chromeos/login/startup_utils.h" | 15 #include "chrome/browser/chromeos/login/startup_utils.h" |
| 17 #include "chrome/browser/chromeos/login/supervised_user_manager.h" | 16 #include "chrome/browser/chromeos/login/supervised_user_manager.h" |
| 18 #include "chrome/browser/chromeos/login/webui_login_view.h" | 17 #include "chrome/browser/chromeos/login/webui_login_view.h" |
| 19 #include "chrome/browser/chromeos/net/network_portal_detector_test_impl.h" | 18 #include "chrome/browser/chromeos/net/network_portal_detector_test_impl.h" |
| 20 #include "chrome/browser/chromeos/settings/stub_cros_settings_provider.h" | 19 #include "chrome/browser/chromeos/settings/stub_cros_settings_provider.h" |
| 21 #include "chrome/browser/managed_mode/managed_user_constants.h" | 20 #include "chrome/browser/managed_mode/managed_user_constants.h" |
| 22 #include "chrome/browser/managed_mode/managed_user_registration_utility.h" | 21 #include "chrome/browser/managed_mode/managed_user_registration_utility.h" |
| 23 #include "chrome/browser/managed_mode/managed_user_registration_utility_stub.h" | 22 #include "chrome/browser/managed_mode/managed_user_registration_utility_stub.h" |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 IN_PROC_BROWSER_TEST_( | 167 IN_PROC_BROWSER_TEST_( |
| 169 SupervisedUserTransactionCleanupTest, | 168 SupervisedUserTransactionCleanupTest, |
| 170 CreateAndCancelSupervisedUser, | 169 CreateAndCancelSupervisedUser, |
| 171 SupervisedUserTransactionCleanupTest2, | 170 SupervisedUserTransactionCleanupTest2, |
| 172 ::testing::internal::GetTypeId<SupervisedUserTransactionCleanupTest>()) { | 171 ::testing::internal::GetTypeId<SupervisedUserTransactionCleanupTest>()) { |
| 173 // Make sure there is no supervised user in list. | 172 // Make sure there is no supervised user in list. |
| 174 ASSERT_EQ(2UL, UserManager::Get()->GetUsers().size()); | 173 ASSERT_EQ(2UL, UserManager::Get()->GetUsers().size()); |
| 175 } | 174 } |
| 176 | 175 |
| 177 } // namespace chromeos | 176 } // namespace chromeos |
| OLD | NEW |