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 <vector> | 5 #include <vector> |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "chrome/browser/chromeos/login/mock_login_utils.h" | 21 #include "chrome/browser/chromeos/login/mock_login_utils.h" |
22 #include "chrome/browser/chromeos/login/mock_url_fetchers.h" | 22 #include "chrome/browser/chromeos/login/mock_url_fetchers.h" |
23 #include "chrome/browser/chromeos/login/mock_user_manager.h" | 23 #include "chrome/browser/chromeos/login/mock_user_manager.h" |
24 #include "chrome/browser/chromeos/login/user_manager.h" | 24 #include "chrome/browser/chromeos/login/user_manager.h" |
25 #include "chrome/browser/chromeos/login/wizard_controller.h" | 25 #include "chrome/browser/chromeos/login/wizard_controller.h" |
26 #include "chrome/browser/chromeos/policy/device_local_account.h" | 26 #include "chrome/browser/chromeos/policy/device_local_account.h" |
27 #include "chrome/browser/chromeos/policy/device_local_account_policy_service.h" | 27 #include "chrome/browser/chromeos/policy/device_local_account_policy_service.h" |
28 #include "chrome/browser/chromeos/policy/device_policy_cros_browser_test.h" | 28 #include "chrome/browser/chromeos/policy/device_policy_cros_browser_test.h" |
29 #include "chrome/browser/chromeos/settings/cros_settings.h" | 29 #include "chrome/browser/chromeos/settings/cros_settings.h" |
30 #include "chrome/browser/policy/browser_policy_connector.h" | 30 #include "chrome/browser/policy/browser_policy_connector.h" |
31 #include "chrome/browser/policy/cloud/cloud_policy_constants.h" | |
32 #include "chrome/browser/policy/cloud/cloud_policy_core.h" | |
33 #include "chrome/browser/policy/cloud/cloud_policy_store.h" | |
34 #include "chrome/browser/policy/cloud/mock_cloud_policy_store.h" | |
35 #include "chrome/browser/policy/cloud/policy_builder.h" | |
36 #include "chrome/browser/policy/proto/chromeos/chrome_device_policy.pb.h" | 31 #include "chrome/browser/policy/proto/chromeos/chrome_device_policy.pb.h" |
37 #include "chrome/common/chrome_switches.h" | 32 #include "chrome/common/chrome_switches.h" |
38 #include "chrome/test/base/testing_browser_process.h" | 33 #include "chrome/test/base/testing_browser_process.h" |
39 #include "chrome/test/base/testing_profile.h" | 34 #include "chrome/test/base/testing_profile.h" |
40 #include "chrome/test/base/ui_test_utils.h" | 35 #include "chrome/test/base/ui_test_utils.h" |
41 #include "chromeos/chromeos_switches.h" | 36 #include "chromeos/chromeos_switches.h" |
42 #include "chromeos/dbus/fake_session_manager_client.h" | 37 #include "chromeos/dbus/fake_session_manager_client.h" |
43 #include "chromeos/settings/cros_settings_names.h" | 38 #include "chromeos/settings/cros_settings_names.h" |
| 39 #include "components/policy/core/common/cloud/cloud_policy_constants.h" |
| 40 #include "components/policy/core/common/cloud/cloud_policy_core.h" |
| 41 #include "components/policy/core/common/cloud/cloud_policy_store.h" |
| 42 #include "components/policy/core/common/cloud/mock_cloud_policy_store.h" |
| 43 #include "components/policy/core/common/cloud/policy_builder.h" |
44 #include "content/public/test/mock_notification_observer.h" | 44 #include "content/public/test/mock_notification_observer.h" |
45 #include "content/public/test/test_utils.h" | 45 #include "content/public/test/test_utils.h" |
46 #include "google_apis/gaia/mock_url_fetcher_factory.h" | 46 #include "google_apis/gaia/mock_url_fetcher_factory.h" |
47 #include "grit/generated_resources.h" | 47 #include "grit/generated_resources.h" |
48 #include "testing/gmock/include/gmock/gmock.h" | 48 #include "testing/gmock/include/gmock/gmock.h" |
49 #include "testing/gtest/include/gtest/gtest.h" | 49 #include "testing/gtest/include/gtest/gtest.h" |
50 #include "ui/base/l10n/l10n_util.h" | 50 #include "ui/base/l10n/l10n_util.h" |
51 | 51 |
52 using ::testing::AnyNumber; | 52 using ::testing::AnyNumber; |
53 using ::testing::Invoke; | 53 using ::testing::Invoke; |
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 | 675 |
676 INSTANTIATE_TEST_CASE_P(ExistingUserControllerTestInstantiation, | 676 INSTANTIATE_TEST_CASE_P(ExistingUserControllerTestInstantiation, |
677 ExistingUserControllerTest, | 677 ExistingUserControllerTest, |
678 testing::Bool()); | 678 testing::Bool()); |
679 | 679 |
680 INSTANTIATE_TEST_CASE_P(ExistingUserControllerPublicSessionTestInstantiation, | 680 INSTANTIATE_TEST_CASE_P(ExistingUserControllerPublicSessionTestInstantiation, |
681 ExistingUserControllerPublicSessionTest, | 681 ExistingUserControllerPublicSessionTest, |
682 testing::Bool()); | 682 testing::Bool()); |
683 | 683 |
684 } // namespace chromeos | 684 } // namespace chromeos |
OLD | NEW |