| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <algorithm> | 5 #include <algorithm> |
| 6 | 6 |
| 7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
| 8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
| 9 #include "base/scoped_temp_dir.h" | 9 #include "base/scoped_temp_dir.h" |
| 10 #include "base/string_number_conversions.h" | 10 #include "base/string_number_conversions.h" |
| 11 #include "chrome/browser/policy/config_dir_policy_provider.h" | 11 #include "chrome/browser/policy/config_dir_policy_provider.h" |
| 12 #include "chrome/browser/policy/configuration_policy_pref_store.h" | 12 #include "chrome/browser/policy/configuration_policy_pref_store.h" |
| 13 #include "chrome/browser/policy/policy_map.h" |
| 13 #include "content/browser/browser_thread.h" | 14 #include "content/browser/browser_thread.h" |
| 14 #include "content/common/json_value_serializer.h" | 15 #include "content/common/json_value_serializer.h" |
| 15 #include "policy/policy_constants.h" | 16 #include "policy/policy_constants.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
| 17 | 18 |
| 18 namespace policy { | 19 namespace policy { |
| 19 | 20 |
| 20 template<typename BASE> | 21 template<typename BASE> |
| 21 class ConfigDirPolicyProviderTestBase : public BASE { | 22 class ConfigDirPolicyProviderTestBase : public BASE { |
| 22 protected: | 23 protected: |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 ConfigDirPolicyProviderValueTest, | 384 ConfigDirPolicyProviderValueTest, |
| 384 testing::Values( | 385 testing::Values( |
| 385 ValueTestParams::ForListPolicy( | 386 ValueTestParams::ForListPolicy( |
| 386 kPolicyURLBlacklist, | 387 kPolicyURLBlacklist, |
| 387 key::kURLBlacklist), | 388 key::kURLBlacklist), |
| 388 ValueTestParams::ForListPolicy( | 389 ValueTestParams::ForListPolicy( |
| 389 kPolicyURLWhitelist, | 390 kPolicyURLWhitelist, |
| 390 key::kURLWhitelist))); | 391 key::kURLWhitelist))); |
| 391 | 392 |
| 392 } // namespace policy | 393 } // namespace policy |
| OLD | NEW |