Add ProfileInfoCache::ProfileIsChild/IsLegacySupervisedAtIndex.
commit4887f082a62b414ef3a611eb58690240aed1c408
authortreib <treib@chromium.org>
Mon, 8 Dec 2014 12:37:18 +0000 (8 04:37 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 8 Dec 2014 12:37:48 +0000 (8 12:37 +0000)
tree130b66dece31df19e322bfe2da51040629140ebe
parent2a4f1480045b0a96f0478f6b23a8d2f2686fee1c
Add ProfileInfoCache::ProfileIsChild/IsLegacySupervisedAtIndex.
Make sure there is always a non-LegacySupervised profile (it's okay if there is only a child profile!)

TBRing since this has already been reviewed at https://chromereviews.googleplex.com/108027013/
TBR=bauerb@chromium.org
TBR=noms@chromium.org
BUG=372381

Review URL: https://codereview.chromium.org/777993003

Cr-Commit-Position: refs/heads/master@{#307229}
chrome/browser/profiles/profile_info_cache.cc
chrome/browser/profiles/profile_info_cache.h
chrome/browser/profiles/profile_info_interface.h
chrome/browser/profiles/profile_manager.cc
chrome/browser/supervised_user/child_accounts/child_account_service.cc
chrome/browser/supervised_user/supervised_user_constants.cc
chrome/browser/supervised_user/supervised_user_constants.h