summaryrefslogtreecommitdiffstats
path: root/chrome/browser/policy/test_utils.h
blob: bdb278316a1ce8f59f818226ae79a48a193297d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_POLICY_TEST_UTILS_H_
#define CHROME_BROWSER_POLICY_TEST_UTILS_H_

namespace policy {

class PolicyService;

// Returns true if |service| is not serving any policies. Otherwise logs the
// current policies and returns false.
bool PolicyServiceIsEmpty(const PolicyService* service);

}  // namespace policy

#endif  // CHROME_BROWSER_POLICY_TEST_UTILS_H_