Chromium Code Reviews| Index: chrome/browser/chromeos/arc/arc_util.h |
| diff --git a/chrome/browser/chromeos/arc/arc_util.h b/chrome/browser/chromeos/arc/arc_util.h |
| index bde8bbcccb9790e32ca1b3d2d55dd37595f61e2b..deaf62966fbdef31b57ed55ec95ae0e2bd4ab7f2 100644 |
| --- a/chrome/browser/chromeos/arc/arc_util.h |
| +++ b/chrome/browser/chromeos/arc/arc_util.h |
| @@ -31,6 +31,12 @@ bool IsArcAllowedForProfile(const Profile* profile); |
| // case. |
| void DisallowArcForTesting(); |
| +// Sets ARC as allowed for sync test. |
| +// In sync test, mutilpe ArcAppListPrefs are created and can confuse |
| +// ArcSessionManager. Let IsArcAllowedForProfile() return true to stop confusing |
| +// ArcSessionManager. |
| +void SetArcAllowedForSyncTesting(); |
|
hidehiko
2017/02/24 18:22:26
I commented alternative approach, which this may n
lgcheng
2017/02/25 01:40:38
Done.
|
| + |
| // Returns whether the user has opted in (or is opting in now) to use Google |
| // Play Store on ARC. |
| // This is almost equivalent to the value of "arc.enabled" preference. However, |