OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <stddef.h> | 5 #include <stddef.h> |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "components/policy/core/common/external_data_fetcher.h" | 29 #include "components/policy/core/common/external_data_fetcher.h" |
30 #include "components/policy/core/common/mock_configuration_policy_provider.h" | 30 #include "components/policy/core/common/mock_configuration_policy_provider.h" |
31 #include "components/policy/core/common/policy_map.h" | 31 #include "components/policy/core/common/policy_map.h" |
32 #include "components/policy/core/common/policy_service_impl.h" | 32 #include "components/policy/core/common/policy_service_impl.h" |
33 #include "components/policy/core/common/policy_types.h" | 33 #include "components/policy/core/common/policy_types.h" |
34 #include "components/signin/core/account_id/account_id.h" | 34 #include "components/signin/core/account_id/account_id.h" |
35 #include "components/user_manager/user.h" | 35 #include "components/user_manager/user.h" |
36 #include "components/user_manager/user_type.h" | 36 #include "components/user_manager/user_type.h" |
37 #include "content/public/test/test_browser_thread_bundle.h" | 37 #include "content/public/test/test_browser_thread_bundle.h" |
38 #include "content/public/test/test_utils.h" | 38 #include "content/public/test/test_utils.h" |
39 #include "net/base/test_data_directory.h" | |
40 #include "net/cert/x509_certificate.h" | 39 #include "net/cert/x509_certificate.h" |
41 #include "net/test/cert_test_util.h" | 40 #include "net/test/cert_test_util.h" |
| 41 #include "net/test/test_data_directory.h" |
42 #include "policy/policy_constants.h" | 42 #include "policy/policy_constants.h" |
43 #include "testing/gmock/include/gmock/gmock.h" | 43 #include "testing/gmock/include/gmock/gmock.h" |
44 #include "testing/gtest/include/gtest/gtest.h" | 44 #include "testing/gtest/include/gtest/gtest.h" |
45 | 45 |
46 using testing::AnyNumber; | 46 using testing::AnyNumber; |
47 using testing::AtLeast; | 47 using testing::AtLeast; |
48 using testing::Mock; | 48 using testing::Mock; |
49 using testing::Ne; | 49 using testing::Ne; |
50 using testing::Return; | 50 using testing::Return; |
51 using testing::StrictMock; | 51 using testing::StrictMock; |
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 EXPECT_EQ(ExpectedImportCertificatesCallCount(), | 674 EXPECT_EQ(ExpectedImportCertificatesCallCount(), |
675 certificate_importer_->GetAndResetImportCount()); | 675 certificate_importer_->GetAndResetImportCount()); |
676 } | 676 } |
677 | 677 |
678 INSTANTIATE_TEST_CASE_P(NetworkConfigurationUpdaterTestWithParamInstance, | 678 INSTANTIATE_TEST_CASE_P(NetworkConfigurationUpdaterTestWithParamInstance, |
679 NetworkConfigurationUpdaterTestWithParam, | 679 NetworkConfigurationUpdaterTestWithParam, |
680 testing::Values(key::kDeviceOpenNetworkConfiguration, | 680 testing::Values(key::kDeviceOpenNetworkConfiguration, |
681 key::kOpenNetworkConfiguration)); | 681 key::kOpenNetworkConfiguration)); |
682 | 682 |
683 } // namespace policy | 683 } // namespace policy |
OLD | NEW |