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

Side by Side Diff: chrome/browser/policy/cloud/cloud_policy_test_utils.cc

Issue 2534983002: Re-enabled UserCloudPolicyManagerChromeOS unit tests (Closed)
Patch Set: Created 4 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
OLDNEW
(Empty)
1 // Copyright (c) 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 "chrome/browser/policy/cloud/cloud_policy_test_utils.h"
7 #include "components/policy/core/common/policy_map.h"
8 #include "components/policy/policy_constants.h"
9
10 namespace policy {
11
12 void GetExpectedDefaultPolicy(PolicyMap* policy_map) {
13 policy_map->Set(key::kNTPContentSuggestionsEnabled, POLICY_LEVEL_MANDATORY,
emaxx 2016/11/29 16:21:15 nit: include "components/policy/core/common/policy
Andrew T Wilson (Slow) 2016/11/30 10:02:34 Done.
14 POLICY_SCOPE_USER, POLICY_SOURCE_ENTERPRISE_DEFAULT,
15 base::WrapUnique(new base::FundamentalValue(false)), nullptr);
emaxx 2016/11/29 16:21:15 nit: include "base/values.h"
Andrew T Wilson (Slow) 2016/11/30 10:02:34 Done.
16 #if defined(OS_CHROMEOS)
17 SetEnterpriseUsersDefaults(policy_map);
pmarko 2016/11/29 14:03:34 Two small questions: - Is this not defeating the p
Andrew T Wilson (Slow) 2016/11/30 10:02:34 This was turning out to be a maintenance problem,
18 #endif
19 }
20
21
22 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698