| Index: chrome/browser/chromeos/arc/policy/arc_policy_util.h
|
| diff --git a/chrome/browser/chromeos/arc/policy/arc_policy_util.h b/chrome/browser/chromeos/arc/policy/arc_policy_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..98f1e287e83105b8a94b56654c5b986f8e2af4c9
|
| --- /dev/null
|
| +++ b/chrome/browser/chromeos/arc/policy/arc_policy_util.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2016 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_CHROMEOS_ARC_POLICY_ARC_POLICY_UTIL_H_
|
| +#define CHROME_BROWSER_CHROMEOS_ARC_POLICY_ARC_POLICY_UTIL_H_
|
| +
|
| +class Profile;
|
| +
|
| +namespace arc {
|
| +namespace policy_util {
|
| +
|
| +// Returns true if the account is managed. Otherwise false.
|
| +bool IsAccountManaged(Profile* profile);
|
| +
|
| +// Returns true if ARC is disabled by --enterprise-diable-arc flag.
|
| +bool IsArcDisabledForEnterprise();
|
| +
|
| +} // namespace policy_util
|
| +} // namespace arc
|
| +
|
| +#endif // CHROME_BROWSER_CHROMEOS_ARC_POLICY_ARC_POLICY_UTIL_H_
|
|
|