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

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: 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..94f81606fcd4c15a87c09ad5b2803bffe0bf7794 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service.h
+++ b/chrome/browser/chromeos/arc/arc_auth_service.h
@@ -89,6 +89,9 @@ 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 current session.
+ bool IsAllowed() const;
+
void OnPrimaryUserProfilePrepared(Profile* profile);
void Shutdown();
@@ -125,6 +128,7 @@ class ArcAuthService : public ArcService,
// Called from Arc support platform app when user cancels signing.
void CancelAuthCode();
+ bool IsArcEnabled();
void EnableArc();
void DisableArc();

Powered by Google App Engine
This is Rietveld 408576698