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

Side by Side Diff: chrome/browser/policy/policy_test_utils.h

Issue 58313002: Removed the PolicyDefinitionList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chrome-policy-schema-10-use-registry
Patch Set: rebase Created 7 years, 1 month 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 2013 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 #ifndef CHROME_BROWSER_POLICY_POLICY_TEST_UTILS_H_
6 #define CHROME_BROWSER_POLICY_POLICY_TEST_UTILS_H_
7
8 #include <ostream>
9
10 #include "chrome/browser/policy/policy_map.h"
11 #include "chrome/browser/policy/policy_service.h"
12 #include "chrome/browser/policy/policy_types.h"
13
14 namespace policy {
15
16 class PolicyBundle;
17 struct PolicyNamespace;
18
19 // Returns true if |service| is not serving any policies. Otherwise logs the
20 // current policies and returns false.
21 bool PolicyServiceIsEmpty(const PolicyService* service);
22
23 } // namespace policy
24
25 std::ostream& operator<<(std::ostream& os, const policy::PolicyBundle& bundle);
26 std::ostream& operator<<(std::ostream& os, policy::PolicyScope scope);
27 std::ostream& operator<<(std::ostream& os, policy::PolicyLevel level);
28 std::ostream& operator<<(std::ostream& os, policy::PolicyDomain domain);
29 std::ostream& operator<<(std::ostream& os, const policy::PolicyMap& policies);
30 std::ostream& operator<<(std::ostream& os, const policy::PolicyMap::Entry& e);
31 std::ostream& operator<<(std::ostream& os, const policy::PolicyNamespace& ns);
32
33 #endif // CHROME_BROWSER_POLICY_POLICY_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_statistics_collector_unittest.cc ('k') | chrome/browser/policy/policy_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698