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

Unified Diff: chrome/browser/chromeos/arc/arc_auth_service.h

Issue 1973603002: arc: Make Play Store item persistance in shelf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + policy_browsertest.cc Created 4 years, 7 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_auth_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_auth_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698