| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/chromeos/login/login_utils.h" | 5 #include "chrome/browser/chromeos/login/login_utils.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/files/scoped_temp_dir.h" | 10 #include "base/files/scoped_temp_dir.h" |
| 11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
| 12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
| 13 #include "base/prefs/pref_registry_simple.h" |
| 13 #include "base/string_util.h" | 14 #include "base/string_util.h" |
| 14 #include "base/synchronization/waitable_event.h" | 15 #include "base/synchronization/waitable_event.h" |
| 15 #include "base/threading/sequenced_worker_pool.h" | 16 #include "base/threading/sequenced_worker_pool.h" |
| 16 #include "base/threading/thread.h" | 17 #include "base/threading/thread.h" |
| 17 #include "chrome/browser/chromeos/cros/cros_library.h" | 18 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 18 #include "chrome/browser/chromeos/cros/mock_cryptohome_library.h" | 19 #include "chrome/browser/chromeos/cros/mock_cryptohome_library.h" |
| 19 #include "chrome/browser/chromeos/input_method/input_method_configuration.h" | 20 #include "chrome/browser/chromeos/input_method/input_method_configuration.h" |
| 20 #include "chrome/browser/chromeos/input_method/mock_input_method_manager.h" | 21 #include "chrome/browser/chromeos/input_method/mock_input_method_manager.h" |
| 21 #include "chrome/browser/chromeos/login/authenticator.h" | 22 #include "chrome/browser/chromeos/login/authenticator.h" |
| 22 #include "chrome/browser/chromeos/login/login_status_consumer.h" | 23 #include "chrome/browser/chromeos/login/login_status_consumer.h" |
| 23 #include "chrome/browser/chromeos/login/user_manager.h" | 24 #include "chrome/browser/chromeos/login/user_manager.h" |
| 24 #include "chrome/browser/chromeos/settings/device_settings_test_helper.h" | 25 #include "chrome/browser/chromeos/settings/device_settings_test_helper.h" |
| 25 #include "chrome/browser/io_thread.h" | 26 #include "chrome/browser/io_thread.h" |
| 26 #include "chrome/browser/net/predictor.h" | 27 #include "chrome/browser/net/predictor.h" |
| 27 #include "chrome/browser/policy/browser_policy_connector.h" | 28 #include "chrome/browser/policy/browser_policy_connector.h" |
| 28 #include "chrome/browser/policy/enterprise_install_attributes.h" | 29 #include "chrome/browser/policy/enterprise_install_attributes.h" |
| 29 #include "chrome/browser/policy/policy_service.h" | 30 #include "chrome/browser/policy/policy_service.h" |
| 30 #include "chrome/browser/policy/proto/device_management_backend.pb.h" | 31 #include "chrome/browser/policy/proto/device_management_backend.pb.h" |
| 31 #include "chrome/browser/prefs/pref_registry_simple.h" | |
| 32 #include "chrome/browser/profiles/profile_manager.h" | 32 #include "chrome/browser/profiles/profile_manager.h" |
| 33 #include "chrome/browser/rlz/rlz.h" | 33 #include "chrome/browser/rlz/rlz.h" |
| 34 #include "chrome/common/chrome_notification_types.h" | 34 #include "chrome/common/chrome_notification_types.h" |
| 35 #include "chrome/common/chrome_paths.h" | 35 #include "chrome/common/chrome_paths.h" |
| 36 #include "chrome/common/chrome_switches.h" | 36 #include "chrome/common/chrome_switches.h" |
| 37 #include "chrome/common/pref_names.h" | 37 #include "chrome/common/pref_names.h" |
| 38 #include "chrome/test/base/testing_browser_process.h" | 38 #include "chrome/test/base/testing_browser_process.h" |
| 39 #include "chrome/test/base/testing_pref_service.h" | 39 #include "chrome/test/base/testing_pref_service.h" |
| 40 #include "chromeos/cryptohome/mock_async_method_caller.h" | 40 #include "chromeos/cryptohome/mock_async_method_caller.h" |
| 41 #include "chromeos/dbus/mock_cryptohome_client.h" | 41 #include "chromeos/dbus/mock_cryptohome_client.h" |
| (...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 664 } | 664 } |
| 665 | 665 |
| 666 INSTANTIATE_TEST_CASE_P( | 666 INSTANTIATE_TEST_CASE_P( |
| 667 LoginUtilsBlockingLoginTestInstance, | 667 LoginUtilsBlockingLoginTestInstance, |
| 668 LoginUtilsBlockingLoginTest, | 668 LoginUtilsBlockingLoginTest, |
| 669 testing::Values(0, 1, 2, 3, 4, 5)); | 669 testing::Values(0, 1, 2, 3, 4, 5)); |
| 670 | 670 |
| 671 } // namespace | 671 } // namespace |
| 672 | 672 |
| 673 } | 673 } |
| OLD | NEW |