| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "base/memory/ptr_util.h" |
| 6 #include "base/values.h" |
| 7 #include "chrome/browser/policy/cloud/cloud_policy_test_utils.h" |
| 8 #include "components/policy/core/common/policy_map.h" |
| 9 #include "components/policy/core/common/policy_types.h" |
| 10 #include "components/policy/policy_constants.h" |
| 11 |
| 12 namespace policy { |
| 13 |
| 14 void GetExpectedDefaultPolicy(PolicyMap* policy_map) { |
| 15 policy_map->Set(key::kNTPContentSuggestionsEnabled, POLICY_LEVEL_MANDATORY, |
| 16 POLICY_SCOPE_USER, POLICY_SOURCE_ENTERPRISE_DEFAULT, |
| 17 base::WrapUnique(new base::FundamentalValue(false)), nullptr); |
| 18 #if defined(OS_CHROMEOS) |
| 19 SetEnterpriseUsersDefaults(policy_map); |
| 20 #endif |
| 21 } |
| 22 |
| 23 |
| 24 } // namespace policy |
| OLD | NEW |