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

Issue 11444029: Added UserPolicySigninService::FetchPolicyForSignedInUser(). (Closed)

Created:
8 years ago by Andrew T Wilson (Slow)
Modified:
8 years ago
CC:
chromium-reviews
Visibility:
Public.

Description

Added UserPolicySigninService::FetchPolicyForSignedInUser(). BUG=160922 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=172043

Patch Set 1 #

Patch Set 2 : Fix tests by not listening to observers if feature flag is not enabled. #

Patch Set 3 : Fixed cros errors. #

Patch Set 4 : Rebase #

Total comments: 17

Patch Set 5 : Review feedback #

Patch Set 6 : Merge to ToT #

Total comments: 8

Patch Set 7 : review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+380 lines, -123 lines) Patch
M chrome/browser/policy/browser_policy_connector.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/policy/browser_policy_connector.cc View 1 2 3 4 5 2 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/policy/cloud_policy_manager.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/cloud_policy_manager.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/cloud_policy_service.h View 1 2 3 4 4 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/policy/cloud_policy_service.cc View 6 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/policy/cloud_policy_service_unittest.cc View 9 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/policy/device_local_account_policy_provider.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/policy/device_local_account_policy_provider.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/device_local_account_policy_service_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/user_cloud_policy_manager.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/user_cloud_policy_manager_chromeos.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/policy/user_cloud_policy_manager_chromeos.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/policy/user_policy_signin_service.h View 1 2 3 4 5 6 4 chunks +60 lines, -9 lines 0 comments Download
M chrome/browser/policy/user_policy_signin_service.cc View 1 2 3 4 5 6 8 chunks +161 lines, -71 lines 0 comments Download
M chrome/browser/policy/user_policy_signin_service_unittest.cc View 1 2 3 4 5 6 7 chunks +100 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Andrew T Wilson (Slow)
Mattias: PTAL
8 years ago (2012-12-06 15:10:23 UTC) #1
Mattias Nissler (ping if slow)
https://codereview.chromium.org/11444029/diff/9003/chrome/browser/policy/browser_policy_connector.h File chrome/browser/policy/browser_policy_connector.h (right): https://codereview.chromium.org/11444029/diff/9003/chrome/browser/policy/browser_policy_connector.h#newcode177 chrome/browser/policy/browser_policy_connector.h:177: void SetDeviceManagementServiceForTest( Please make naming consistent with SetPolicyProviderForTesting. https://codereview.chromium.org/11444029/diff/9003/chrome/browser/policy/cloud_policy_service.h ...
8 years ago (2012-12-07 15:20:45 UTC) #2
Andrew T Wilson (Slow)
PTAL https://codereview.chromium.org/11444029/diff/9003/chrome/browser/policy/browser_policy_connector.h File chrome/browser/policy/browser_policy_connector.h (right): https://codereview.chromium.org/11444029/diff/9003/chrome/browser/policy/browser_policy_connector.h#newcode177 chrome/browser/policy/browser_policy_connector.h:177: void SetDeviceManagementServiceForTest( On 2012/12/07 15:20:45, Mattias Nissler wrote: ...
8 years ago (2012-12-07 17:34:29 UTC) #3
Mattias Nissler (ping if slow)
lgtm with nits. https://codereview.chromium.org/11444029/diff/9003/chrome/browser/policy/cloud_policy_service_unittest.cc File chrome/browser/policy/cloud_policy_service_unittest.cc (right): https://codereview.chromium.org/11444029/diff/9003/chrome/browser/policy/cloud_policy_service_unittest.cc#newcode93 chrome/browser/policy/cloud_policy_service_unittest.cc:93: EXPECT_CALL(*this, OnPolicyRefresh(_)).Times(0); On 2012/12/07 17:34:29, Andrew ...
8 years ago (2012-12-10 09:01:08 UTC) #4
Andrew T Wilson (Slow)
https://codereview.chromium.org/11444029/diff/22001/chrome/browser/policy/user_policy_signin_service.cc File chrome/browser/policy/user_policy_signin_service.cc (right): https://codereview.chromium.org/11444029/diff/22001/chrome/browser/policy/user_policy_signin_service.cc#newcode132 chrome/browser/policy/user_policy_signin_service.cc:132: // (accessing things like URLFetchers will crash). On 2012/12/10 ...
8 years ago (2012-12-10 10:12:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/atwilson@chromium.org/11444029/28002
8 years ago (2012-12-10 10:12:50 UTC) #6
commit-bot: I haz the power
8 years ago (2012-12-10 12:39:03 UTC) #7
Message was sent while issue was closed.
Change committed as 172043

Powered by Google App Engine
This is Rietveld 408576698