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 <string> | 5 #include <string> |
6 | 6 |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "chrome/browser/net/proxy_policy_handler.h" | |
10 #include "components/policy/core/browser/configuration_policy_pref_store.h" | 9 #include "components/policy/core/browser/configuration_policy_pref_store.h" |
11 #include "components/policy/core/browser/configuration_policy_pref_store_test.h" | 10 #include "components/policy/core/browser/configuration_policy_pref_store_test.h" |
| 11 #include "components/policy/core/browser/proxy_policy_handler.h" |
12 #include "components/policy/core/common/policy_service_impl.h" | 12 #include "components/policy/core/common/policy_service_impl.h" |
13 #include "components/policy/core/common/policy_types.h" | 13 #include "components/policy/core/common/policy_types.h" |
14 #include "components/proxy_config/proxy_config_dictionary.h" | 14 #include "components/proxy_config/proxy_config_dictionary.h" |
15 #include "components/proxy_config/proxy_config_pref_names.h" | 15 #include "components/proxy_config/proxy_config_pref_names.h" |
16 #include "policy/policy_constants.h" | 16 #include "policy/policy_constants.h" |
17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
18 | 18 |
19 namespace policy { | 19 namespace policy { |
20 | 20 |
21 // Test cases for the proxy policy settings. | 21 // Test cases for the proxy policy settings. |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 POLICY_SOURCE_CLOUD, | 345 POLICY_SOURCE_CLOUD, |
346 new base::FundamentalValue(i), | 346 new base::FundamentalValue(i), |
347 NULL); | 347 NULL); |
348 UpdateProviderPolicy(policy); | 348 UpdateProviderPolicy(policy); |
349 const base::Value* value = NULL; | 349 const base::Value* value = NULL; |
350 EXPECT_FALSE(store_->GetValue(proxy_config::prefs::kProxy, &value)); | 350 EXPECT_FALSE(store_->GetValue(proxy_config::prefs::kProxy, &value)); |
351 } | 351 } |
352 } | 352 } |
353 | 353 |
354 } // namespace policy | 354 } // namespace policy |
OLD | NEW |