| 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> |
| 6 |
| 5 #include "base/bind.h" | 7 #include "base/bind.h" |
| 6 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 7 #include "base/callback.h" | 9 #include "base/callback.h" |
| 8 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
| 11 #include "base/values.h" | 14 #include "base/values.h" |
| 12 #include "chrome/browser/chromeos/policy/device_network_configuration_updater.h" | 15 #include "chrome/browser/chromeos/policy/device_network_configuration_updater.h" |
| 13 #include "chrome/browser/chromeos/policy/user_network_configuration_updater.h" | 16 #include "chrome/browser/chromeos/policy/user_network_configuration_updater.h" |
| 14 #include "chrome/browser/chromeos/settings/cros_settings.h" | 17 #include "chrome/browser/chromeos/settings/cros_settings.h" |
| 15 #include "chrome/browser/chromeos/settings/scoped_cros_settings_test_helper.h" | 18 #include "chrome/browser/chromeos/settings/scoped_cros_settings_test_helper.h" |
| 16 #include "chrome/test/base/testing_profile.h" | 19 #include "chrome/test/base/testing_profile.h" |
| 17 #include "chromeos/network/fake_network_device_handler.h" | 20 #include "chromeos/network/fake_network_device_handler.h" |
| 18 #include "chromeos/network/mock_managed_network_configuration_handler.h" | 21 #include "chromeos/network/mock_managed_network_configuration_handler.h" |
| (...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 662 EXPECT_EQ(ExpectedImportCertificatesCallCount(), | 665 EXPECT_EQ(ExpectedImportCertificatesCallCount(), |
| 663 certificate_importer_->GetAndResetImportCount()); | 666 certificate_importer_->GetAndResetImportCount()); |
| 664 } | 667 } |
| 665 | 668 |
| 666 INSTANTIATE_TEST_CASE_P(NetworkConfigurationUpdaterTestWithParamInstance, | 669 INSTANTIATE_TEST_CASE_P(NetworkConfigurationUpdaterTestWithParamInstance, |
| 667 NetworkConfigurationUpdaterTestWithParam, | 670 NetworkConfigurationUpdaterTestWithParam, |
| 668 testing::Values(key::kDeviceOpenNetworkConfiguration, | 671 testing::Values(key::kDeviceOpenNetworkConfiguration, |
| 669 key::kOpenNetworkConfiguration)); | 672 key::kOpenNetworkConfiguration)); |
| 670 | 673 |
| 671 } // namespace policy | 674 } // namespace policy |
| OLD | NEW |