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

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

Issue 23532033: policy: Add ostream operator overloads to policy types for testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: generate json Created 7 years, 3 months 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
« no previous file with comments | « chrome/browser/policy/policy_test_utils.cc ('k') | chrome/browser/policy/test_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 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_TEST_UTILS_H_
6 #define CHROME_BROWSER_POLICY_TEST_UTILS_H_
7
8 namespace policy {
9
10 class PolicyService;
11
12 // Returns true if |service| is not serving any policies. Otherwise logs the
13 // current policies and returns false.
14 bool PolicyServiceIsEmpty(const PolicyService* service);
15
16 } // namespace policy
17
18 #endif // CHROME_BROWSER_POLICY_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_test_utils.cc ('k') | chrome/browser/policy/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698