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" |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "chrome/browser/chromeos/login/login_status_consumer.h" | 23 #include "chrome/browser/chromeos/login/login_status_consumer.h" |
24 #include "chrome/browser/chromeos/login/user_manager.h" | 24 #include "chrome/browser/chromeos/login/user_manager.h" |
25 #include "chrome/browser/chromeos/policy/enterprise_install_attributes.h" | 25 #include "chrome/browser/chromeos/policy/enterprise_install_attributes.h" |
26 #include "chrome/browser/chromeos/settings/cros_settings.h" | 26 #include "chrome/browser/chromeos/settings/cros_settings.h" |
27 #include "chrome/browser/chromeos/settings/device_settings_service.h" | 27 #include "chrome/browser/chromeos/settings/device_settings_service.h" |
28 #include "chrome/browser/chromeos/settings/device_settings_test_helper.h" | 28 #include "chrome/browser/chromeos/settings/device_settings_test_helper.h" |
29 #include "chrome/browser/chromeos/settings/mock_owner_key_util.h" | 29 #include "chrome/browser/chromeos/settings/mock_owner_key_util.h" |
30 #include "chrome/browser/io_thread.h" | 30 #include "chrome/browser/io_thread.h" |
31 #include "chrome/browser/net/predictor.h" | 31 #include "chrome/browser/net/predictor.h" |
32 #include "chrome/browser/policy/browser_policy_connector.h" | 32 #include "chrome/browser/policy/browser_policy_connector.h" |
33 #include "chrome/browser/policy/cloud/device_management_service.h" | |
34 #include "chrome/browser/policy/policy_service.h" | |
35 #include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h" | 33 #include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h" |
36 #include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h" | 34 #include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h" |
37 #include "chrome/browser/profiles/profile_manager.h" | 35 #include "chrome/browser/profiles/profile_manager.h" |
38 #include "chrome/browser/rlz/rlz.h" | 36 #include "chrome/browser/rlz/rlz.h" |
39 #include "chrome/common/chrome_paths.h" | 37 #include "chrome/common/chrome_paths.h" |
40 #include "chrome/common/chrome_switches.h" | 38 #include "chrome/common/chrome_switches.h" |
41 #include "chrome/common/pref_names.h" | 39 #include "chrome/common/pref_names.h" |
42 #include "chrome/test/base/scoped_testing_local_state.h" | 40 #include "chrome/test/base/scoped_testing_local_state.h" |
43 #include "chrome/test/base/testing_browser_process.h" | 41 #include "chrome/test/base/testing_browser_process.h" |
44 #include "chromeos/chromeos_switches.h" | 42 #include "chromeos/chromeos_switches.h" |
45 #include "chromeos/cryptohome/mock_async_method_caller.h" | 43 #include "chromeos/cryptohome/mock_async_method_caller.h" |
46 #include "chromeos/cryptohome/system_salt_getter.h" | 44 #include "chromeos/cryptohome/system_salt_getter.h" |
47 #include "chromeos/dbus/fake_dbus_thread_manager.h" | 45 #include "chromeos/dbus/fake_dbus_thread_manager.h" |
48 #include "chromeos/disks/disk_mount_manager.h" | 46 #include "chromeos/disks/disk_mount_manager.h" |
49 #include "chromeos/disks/mock_disk_mount_manager.h" | 47 #include "chromeos/disks/mock_disk_mount_manager.h" |
50 #include "chromeos/login/login_state.h" | 48 #include "chromeos/login/login_state.h" |
51 #include "chromeos/network/network_handler.h" | 49 #include "chromeos/network/network_handler.h" |
52 #include "chromeos/system/mock_statistics_provider.h" | 50 #include "chromeos/system/mock_statistics_provider.h" |
53 #include "chromeos/system/statistics_provider.h" | 51 #include "chromeos/system/statistics_provider.h" |
| 52 #include "components/policy/core/common/cloud/device_management_service.h" |
| 53 #include "components/policy/core/common/policy_service.h" |
54 #include "content/public/browser/browser_thread.h" | 54 #include "content/public/browser/browser_thread.h" |
55 #include "content/public/test/test_browser_thread.h" | 55 #include "content/public/test/test_browser_thread.h" |
56 #include "content/public/test/test_utils.h" | 56 #include "content/public/test/test_utils.h" |
57 #include "google_apis/gaia/gaia_auth_consumer.h" | 57 #include "google_apis/gaia/gaia_auth_consumer.h" |
58 #include "google_apis/gaia/gaia_urls.h" | 58 #include "google_apis/gaia/gaia_urls.h" |
59 #include "net/url_request/test_url_fetcher_factory.h" | 59 #include "net/url_request/test_url_fetcher_factory.h" |
60 #include "net/url_request/url_fetcher_delegate.h" | 60 #include "net/url_request/url_fetcher_delegate.h" |
61 #include "net/url_request/url_request.h" | 61 #include "net/url_request/url_request.h" |
62 #include "net/url_request/url_request_context_getter.h" | 62 #include "net/url_request/url_request_context_getter.h" |
63 #include "net/url_request/url_request_status.h" | 63 #include "net/url_request/url_request_status.h" |
(...skipping 600 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 } // namespace chromeos | 673 } // namespace chromeos |
OLD | NEW |