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

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

Issue 2707133006: Start ARC and sign in after Chrome OS login (Closed)
Patch Set: Created 3 years, 10 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_session_manager.h
diff --git a/chrome/browser/chromeos/arc/arc_session_manager.h b/chrome/browser/chromeos/arc/arc_session_manager.h
index 227c59370e16fa45d1345e202cb5c27035c50394..ed1a4fe4d8c852d30d9cca4a390a9b8f6b69b9b8 100644
--- a/chrome/browser/chromeos/arc/arc_session_manager.h
+++ b/chrome/browser/chromeos/arc/arc_session_manager.h
@@ -121,7 +121,9 @@ class ArcSessionManager : public ArcSessionObserver,
static void SetShelfDelegateForTesting(ash::ShelfDelegate* shelf_delegate);
static void EnableCheckAndroidManagementForTesting();
- // Returns true if ARC is allowed to run for the current session.
+ // Returns true if Persistent ARC is enabled.
+ static bool IsPersistentArc();
Yusuke Sato 2017/02/23 00:47:13 I haven't reviewed this CL in detail yet, but the
hidehiko 2017/02/23 10:29:16 Makes sense. Another candidate is ShouldAlwaysRunA
hidehiko 2017/02/23 10:30:54 a bit bikeshedding: To be consistent with helper f
victorhsieh 2017/02/24 00:44:59 Done.
+
// TODO(hidehiko): The name is very close to IsArcAllowedForProfile(), but
// has different meaning. Clean this up.
bool IsAllowed() const;
@@ -252,6 +254,7 @@ class ArcSessionManager : public ArcSessionObserver,
void PrepareContextForAuthCodeRequest();
void StartArcAndroidManagementCheck();
+ void StartArcAndroidManagementCheckedInBackground();
void MaybeReenableArc();
// Called when the Android management check is done in opt-in flow or
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_session_manager.cc » ('j') | chrome/browser/chromeos/arc/arc_session_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698