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 17 matching lines...) Expand all Loading... |
28 #include "chrome/browser/policy/browser_policy_connector.h" | 28 #include "chrome/browser/policy/browser_policy_connector.h" |
29 #include "chrome/browser/policy/enterprise_install_attributes.h" | 29 #include "chrome/browser/policy/enterprise_install_attributes.h" |
30 #include "chrome/browser/policy/policy_service.h" | 30 #include "chrome/browser/policy/policy_service.h" |
31 #include "chrome/browser/policy/proto/device_management_backend.pb.h" | 31 #include "chrome/browser/policy/proto/device_management_backend.pb.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/scoped_testing_local_state.h" |
38 #include "chrome/test/base/testing_browser_process.h" | 39 #include "chrome/test/base/testing_browser_process.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" |
42 #include "chromeos/dbus/mock_dbus_thread_manager.h" | 42 #include "chromeos/dbus/mock_dbus_thread_manager.h" |
43 #include "chromeos/dbus/mock_session_manager_client.h" | 43 #include "chromeos/dbus/mock_session_manager_client.h" |
44 #include "chromeos/disks/disk_mount_manager.h" | 44 #include "chromeos/disks/disk_mount_manager.h" |
45 #include "chromeos/disks/mock_disk_mount_manager.h" | 45 #include "chromeos/disks/mock_disk_mount_manager.h" |
46 #include "content/public/browser/browser_thread.h" | 46 #include "content/public/browser/browser_thread.h" |
47 #include "content/public/test/test_browser_thread.h" | 47 #include "content/public/test/test_browser_thread.h" |
48 #include "content/public/test/test_utils.h" | 48 #include "content/public/test/test_utils.h" |
49 #include "google_apis/gaia/gaia_auth_consumer.h" | 49 #include "google_apis/gaia/gaia_auth_consumer.h" |
(...skipping 614 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 |