| OLD | NEW |
| (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 #include "chrome/browser/chromeos/arc/policy/arc_policy_util.h" |
| 6 |
| 7 #include "chrome/browser/policy/profile_policy_connector.h" |
| 8 #include "chrome/browser/policy/profile_policy_connector_factory.h" |
| 9 #include "chrome/browser/profiles/profile.h" |
| 10 |
| 11 namespace arc { |
| 12 namespace policy_util { |
| 13 |
| 14 bool IsAccountManaged(Profile* profile) { |
| 15 return policy::ProfilePolicyConnectorFactory::GetForBrowserContext(profile) |
| 16 ->IsManaged(); |
| 17 } |
| 18 |
| 19 } // namespace policy_util |
| 20 } // namespace arc |
| OLD | NEW |