Merge the user type based check in user_selection_screen.cc with arc_util.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/94a81dea3021d2e86673872e7b19ea0b684e614e commit 94a81dea3021d2e86673872e7b19ea0b684e614e Author: xiyuan <xiyuan@chromium.org> Date: Thu May 25 14:31:37 2017 arc: Consolidate IsArcAllowedForUser logic BUG= 722876 TEST=ArcUtilTest.IsArcAllowedForUser Review-Url: https://codereview.chromium.org/2885933003 Cr-Commit-Position: refs/heads/master@{#474646} [modify] https://crrev.com/94a81dea3021d2e86673872e7b19ea0b684e614e/chrome/browser/chromeos/arc/arc_util.cc [modify] https://crrev.com/94a81dea3021d2e86673872e7b19ea0b684e614e/chrome/browser/chromeos/login/screens/user_selection_screen.cc [modify] https://crrev.com/94a81dea3021d2e86673872e7b19ea0b684e614e/components/arc/BUILD.gn [modify] https://crrev.com/94a81dea3021d2e86673872e7b19ea0b684e614e/components/arc/arc_util.cc [modify] https://crrev.com/94a81dea3021d2e86673872e7b19ea0b684e614e/components/arc/arc_util.h [modify] https://crrev.com/94a81dea3021d2e86673872e7b19ea0b684e614e/components/arc/arc_util_unittest.cc [modify] https://crrev.com/94a81dea3021d2e86673872e7b19ea0b684e614e/components/user_manager/fake_user_manager.cc [modify] https://crrev.com/94a81dea3021d2e86673872e7b19ea0b684e614e/components/user_manager/fake_user_manager.h
Comment 1 by uekawa@google.com
, May 17 2017