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

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: comments 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
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();
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_auth_service.cc » ('j') | chrome/browser/ui/app_list/arc/arc_app_utils.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698