Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Issue 49783006: policy: Remove SigninManager from UserCloudPolicyStore. (Closed)

Created:
7 years, 1 month ago by pneubeck (no reviews)
Modified:
7 years, 1 month ago
CC:
chromium-reviews, tim+watch_chromium.org, rsimha+watch_chromium.org, haitaol+watch_chromium.org
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233065

Patch Set 1 : #

Patch Set 2 : Fix tests. #

Patch Set 3 : Rebased. #

Total comments: 2

Patch Set 4 : Rebased, removed Profile*. #

Patch Set 5 : Fix compilation on non-chromeos. #

Patch Set 6 : Fixed compilation on Android. #

Patch Set 7 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -70 lines) Patch
M chrome/browser/android/signin/signin_manager_android.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/policy/cloud/mock_user_cloud_policy_store.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/policy/cloud/mock_user_cloud_policy_store.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_manager.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_manager.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_store.h View 1 2 3 4 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_store.cc View 1 2 3 3 chunks +11 lines, -17 lines 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_store_unittest.cc View 1 2 3 4 8 chunks +18 lines, -37 lines 0 comments Download
M chrome/browser/policy/cloud/user_policy_signin_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/policy/cloud/user_policy_signin_service.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/policy/cloud/user_policy_signin_service_base.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/policy/cloud/user_policy_signin_service_base.cc View 5 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc View 1 10 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_sync_starter.cc View 1 2 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
pneubeck (no reviews)
@Joao, this is not finished, but please take a look whether it matches your expectations ...
7 years, 1 month ago (2013-10-29 10:32:25 UTC) #1
pneubeck (no reviews)
7 years, 1 month ago (2013-10-29 10:55:07 UTC) #2
Joao da Silva
Looks OK. Notice that the UserPolicySigninService[Base] can use the SigninManager[Factory], so the username doesn't have ...
7 years, 1 month ago (2013-10-29 11:42:24 UTC) #3
pneubeck (no reviews)
On 2013/10/29 11:42:24, Joao da Silva wrote: > Looks OK. Notice that the UserPolicySigninService[Base] can ...
7 years, 1 month ago (2013-10-29 14:24:52 UTC) #4
Joao da Silva
On 2013/10/29 14:24:52, pneubeck wrote: > On 2013/10/29 11:42:24, Joao da Silva wrote: > > ...
7 years, 1 month ago (2013-10-30 08:07:59 UTC) #5
pneubeck (no reviews)
On 2013/10/30 08:07:59, Joao da Silva wrote: > On 2013/10/29 14:24:52, pneubeck wrote: > > ...
7 years, 1 month ago (2013-10-30 08:23:08 UTC) #6
dconnelly
pretty straightforward. looks good to me so far
7 years, 1 month ago (2013-10-31 09:04:11 UTC) #7
pneubeck (no reviews)
ok. this should be good now. PTAL.
7 years, 1 month ago (2013-11-04 08:36:03 UTC) #8
Joao da Silva
lgtm
7 years, 1 month ago (2013-11-04 09:39:52 UTC) #9
Joao da Silva
+Drew to have a quick glance at this
7 years, 1 month ago (2013-11-04 09:40:26 UTC) #10
Joao da Silva
Just noticed that the store doesn't need the Profile anymore. https://codereview.chromium.org/49783006/diff/230001/chrome/browser/policy/cloud/user_cloud_policy_store.cc File chrome/browser/policy/cloud/user_cloud_policy_store.cc (right): https://codereview.chromium.org/49783006/diff/230001/chrome/browser/policy/cloud/user_cloud_policy_store.cc#newcode102 ...
7 years, 1 month ago (2013-11-04 09:58:32 UTC) #11
pneubeck (no reviews)
https://codereview.chromium.org/49783006/diff/230001/chrome/browser/policy/cloud/user_cloud_policy_store.cc File chrome/browser/policy/cloud/user_cloud_policy_store.cc (right): https://codereview.chromium.org/49783006/diff/230001/chrome/browser/policy/cloud/user_cloud_policy_store.cc#newcode102 chrome/browser/policy/cloud/user_cloud_policy_store.cc:102: profile_(profile), On 2013/11/04 09:58:32, Joao da Silva wrote: > ...
7 years, 1 month ago (2013-11-04 10:59:46 UTC) #12
Joao da Silva
lgtm
7 years, 1 month ago (2013-11-04 11:02:19 UTC) #13
dconnelly
lgtm
7 years, 1 month ago (2013-11-04 15:24:00 UTC) #14
Andrew T Wilson (Slow)
lgtm
7 years, 1 month ago (2013-11-04 17:01:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/49783006/380001
7 years, 1 month ago (2013-11-04 18:52:09 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-04 19:55:42 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/49783006/470002
7 years, 1 month ago (2013-11-04 20:54:41 UTC) #18
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-04 21:50:33 UTC) #19
pneubeck (no reviews)
7 years, 1 month ago (2013-11-05 12:33:59 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/49783006/1000001
7 years, 1 month ago (2013-11-05 12:42:07 UTC) #21
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=97898
7 years, 1 month ago (2013-11-05 15:19:44 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/49783006/1000001
7 years, 1 month ago (2013-11-05 16:23:10 UTC) #23
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=98012
7 years, 1 month ago (2013-11-05 20:02:46 UTC) #24
pneubeck (no reviews)
7 years, 1 month ago (2013-11-05 20:08:14 UTC) #25
Message was sent while issue was closed.
Committed patchset #7 manually as r233065 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698