Chromium Code Reviews| 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 |