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

Side by Side Diff: chrome/browser/chromeos/arc/policy/arc_policy_util.h

Issue 2448013002: Extract utilities for policy check from ArcAuthService. (Closed)
Patch Set: Created 4 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 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 #ifndef CHROME_BROWSER_CHROMEOS_ARC_POLICY_ARC_POLICY_UTIL_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_POLICY_ARC_POLICY_UTIL_H_
7
8 class Profile;
9
10 namespace arc {
11 namespace policy_util {
12
13 // Returns true if the account is managed. Otherwise false.
14 bool IsAccountManaged(Profile* profile);
15
16 // Returns true if ARC is disabled by --enterprise-diable-arc flag.
17 bool IsArcDisabledForEnterprise();
18
19 } // namespace policy_util
20 } // namespace arc
21
22 #endif // CHROME_BROWSER_CHROMEOS_ARC_POLICY_ARC_POLICY_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/arc/arc_auth_service.cc ('k') | chrome/browser/chromeos/arc/policy/arc_policy_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698