Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(548)

Side by Side Diff: chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc

Issue 92153002: Move ConfigurationPolicyProvider, etc. to components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/bind_helpers.h" 6 #include "base/bind_helpers.h"
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/browser/chromeos/login/user.h" 12 #include "chrome/browser/chromeos/login/user.h"
13 #include "chrome/browser/chromeos/policy/user_network_configuration_updater.h" 13 #include "chrome/browser/chromeos/policy/user_network_configuration_updater.h"
14 #include "chrome/browser/policy/mock_configuration_policy_provider.h"
15 #include "chrome/browser/policy/policy_service_impl.h" 14 #include "chrome/browser/policy/policy_service_impl.h"
16 #include "chromeos/network/mock_managed_network_configuration_handler.h" 15 #include "chromeos/network/mock_managed_network_configuration_handler.h"
17 #include "chromeos/network/onc/mock_certificate_importer.h" 16 #include "chromeos/network/onc/mock_certificate_importer.h"
18 #include "chromeos/network/onc/onc_test_utils.h" 17 #include "chromeos/network/onc/onc_test_utils.h"
19 #include "chromeos/network/onc/onc_utils.h" 18 #include "chromeos/network/onc/onc_utils.h"
20 #include "components/onc/onc_constants.h" 19 #include "components/onc/onc_constants.h"
21 #include "components/policy/core/common/external_data_fetcher.h" 20 #include "components/policy/core/common/external_data_fetcher.h"
21 #include "components/policy/core/common/mock_configuration_policy_provider.h"
22 #include "components/policy/core/common/policy_map.h" 22 #include "components/policy/core/common/policy_map.h"
23 #include "content/public/test/test_browser_thread_bundle.h" 23 #include "content/public/test/test_browser_thread_bundle.h"
24 #include "content/public/test/test_utils.h" 24 #include "content/public/test/test_utils.h"
25 #include "net/base/test_data_directory.h" 25 #include "net/base/test_data_directory.h"
26 #include "net/cert/x509_certificate.h" 26 #include "net/cert/x509_certificate.h"
27 #include "net/test/cert_test_util.h" 27 #include "net/test/cert_test_util.h"
28 #include "policy/policy_constants.h" 28 #include "policy/policy_constants.h"
29 #include "testing/gmock/include/gmock/gmock.h" 29 #include "testing/gmock/include/gmock/gmock.h"
30 #include "testing/gtest/include/gtest/gtest.h" 30 #include "testing/gtest/include/gtest/gtest.h"
31 31
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 policy.Erase(GetParam()); 464 policy.Erase(GetParam());
465 UpdateProviderPolicy(policy); 465 UpdateProviderPolicy(policy);
466 } 466 }
467 467
468 INSTANTIATE_TEST_CASE_P(NetworkConfigurationUpdaterTestWithParamInstance, 468 INSTANTIATE_TEST_CASE_P(NetworkConfigurationUpdaterTestWithParamInstance,
469 NetworkConfigurationUpdaterTestWithParam, 469 NetworkConfigurationUpdaterTestWithParam,
470 testing::Values(key::kDeviceOpenNetworkConfiguration, 470 testing::Values(key::kDeviceOpenNetworkConfiguration,
471 key::kOpenNetworkConfiguration)); 471 key::kOpenNetworkConfiguration));
472 472
473 } // namespace policy 473 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/policy/login_profile_policy_provider.h ('k') | chrome/browser/chromeos/policy/proxy_policy_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698