policy: Remove SigninManager from UserCloudPolicyStore.
commit01fd5c91a81c5b50060915ccc7510f9642367345
authorpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 5 Nov 2013 20:08:08 +0000 (5 20:08 +0000)
committerpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 5 Nov 2013 20:08:08 +0000 (5 20:08 +0000)
tree30656f9365ad27fd0fbf82259c2d65065fdffdd1
parent25e35c3f61ab273721315d46fd9119db959d8660
policy: Remove SigninManager from UserCloudPolicyStore.

Instead of accessing the SigninManager singleton from UserCloudPolicyStore, the username from signin is injected to UserCloudPolicyStore.

BUG=271392
(For change on Android:)

R=atwilson@chromium.org, dconnelly@chromium.org, joaodasilva@chromium.org
TBR=tedchoc@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233065 0039d316-1c4b-4281-b951-d872f2087c98
15 files changed:
chrome/browser/android/signin/signin_manager_android.cc
chrome/browser/policy/cloud/mock_user_cloud_policy_store.cc
chrome/browser/policy/cloud/mock_user_cloud_policy_store.h
chrome/browser/policy/cloud/user_cloud_policy_manager.cc
chrome/browser/policy/cloud/user_cloud_policy_manager.h
chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc
chrome/browser/policy/cloud/user_cloud_policy_store.cc
chrome/browser/policy/cloud/user_cloud_policy_store.h
chrome/browser/policy/cloud/user_cloud_policy_store_unittest.cc
chrome/browser/policy/cloud/user_policy_signin_service.cc
chrome/browser/policy/cloud/user_policy_signin_service.h
chrome/browser/policy/cloud/user_policy_signin_service_base.cc
chrome/browser/policy/cloud/user_policy_signin_service_base.h
chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc
chrome/browser/ui/sync/one_click_signin_sync_starter.cc