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 d797dfa2f749c6d2e254fa2b651e6cc25df6899d..a53f703c25ef208a99b167a5cc0fbdc5ca057146 100644 |
--- a/chrome/browser/chromeos/arc/arc_auth_service.h |
+++ b/chrome/browser/chromeos/arc/arc_auth_service.h |
@@ -89,6 +89,12 @@ class ArcAuthService : public ArcService, |
// Checks if OptIn verification was disabled by switch in command line. |
static bool IsOptInVerificationDisabled(); |
+ // 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(); |
@@ -125,6 +131,7 @@ class ArcAuthService : public ArcService, |
// Called from Arc support platform app when user cancels signing. |
void CancelAuthCode(); |
+ bool IsArcEnabled(); |
void EnableArc(); |
void DisableArc(); |