Index: chrome/browser/chromeos/arc/arc_auth_service.h |
diff --git a/chrome/browser/chromeos/arc/arc_auth_service.h b/chrome/browser/chromeos/arc/arc_auth_service.h |
index 3691ac3a88112f456c3fe6f310e885a825da23a1..354f12f18ac1ca6ab253578076e1e14af2fdbf85 100644 |
--- a/chrome/browser/chromeos/arc/arc_auth_service.h |
+++ b/chrome/browser/chromeos/arc/arc_auth_service.h |
@@ -98,6 +98,12 @@ class ArcAuthService : public ArcService, |
static void EnableCheckAndroidManagementForTesting(); |
+ // Returns true if Arc is allowed to run for the given profile. |
+ static bool IsAllowedForProfile(const Profile* profile); |
+ |
+ // Returns true if Arc is allowed to run for the current session. |
+ bool IsAllowed() const; |
+ |
void OnPrimaryUserProfilePrepared(Profile* profile); |
void Shutdown(); |
@@ -134,6 +140,7 @@ class ArcAuthService : public ArcService, |
// Called from Arc support platform app when user cancels signing. |
void CancelAuthCode(); |
+ bool IsArcEnabled(); |
void EnableArc(); |
void DisableArc(); |