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

Issue 10491013: Implement the windows policy provider based on the AsyncPolicyLoader. (Closed)

Created:
8 years, 6 months ago by Joao da Silva
Modified:
8 years, 6 months ago
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Implement the windows policy provider based on the AsyncPolicyLoader. BUG=130918 TEST=windows policy still works, unit_tests green Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140770

Patch Set 1 #

Patch Set 2 : Refactored unit_test #

Patch Set 3 : Refactored unittest, rebase from right branch #

Patch Set 4 : SetupWatches on the FILE thread only #

Patch Set 5 : . #

Patch Set 6 : Fix win build #

Total comments: 8

Patch Set 7 : Rebased, cleanup #

Total comments: 2

Patch Set 8 : Addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -265 lines) Patch
M chrome/browser/policy/browser_policy_connector.cc View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
D chrome/browser/policy/configuration_policy_loader_win.h View 1 chunk +0 lines, -53 lines 0 comments Download
D chrome/browser/policy/configuration_policy_loader_win.cc View 1 chunk +0 lines, -89 lines 0 comments Download
D chrome/browser/policy/configuration_policy_provider_delegate_win.h View 1 chunk +0 lines, -32 lines 0 comments Download
D chrome/browser/policy/configuration_policy_provider_win.h View 1 chunk +0 lines, -31 lines 0 comments Download
D chrome/browser/policy/configuration_policy_provider_win.cc View 1 chunk +0 lines, -28 lines 0 comments Download
A chrome/browser/policy/policy_loader_win.h View 1 2 3 4 5 6 1 chunk +51 lines, -0 lines 0 comments Download
A + chrome/browser/policy/policy_loader_win.cc View 1 2 3 4 5 6 3 chunks +66 lines, -8 lines 0 comments Download
A + chrome/browser/policy/policy_loader_win_unittest.cc View 1 2 3 4 5 6 7 6 chunks +14 lines, -15 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Joao da Silva
CL 4/5: refactor the win provider. This still needs manual testing.
8 years, 6 months ago (2012-06-03 15:07:35 UTC) #1
Mattias Nissler (ping if slow)
http://codereview.chromium.org/10491013/diff/11002/chrome/browser/policy/policy_loader_win.cc File chrome/browser/policy/policy_loader_win.cc (right): http://codereview.chromium.org/10491013/diff/11002/chrome/browser/policy/policy_loader_win.cc#newcode217 chrome/browser/policy/policy_loader_win.cc:217: user_policy_watcher_failed_(false), the failed_ fields are no longer used AFAICS ...
8 years, 6 months ago (2012-06-04 09:29:41 UTC) #2
Joao da Silva
Please have another look. This is the last CL of the refactor. I've manually verified ...
8 years, 6 months ago (2012-06-06 13:05:24 UTC) #3
Mattias Nissler (ping if slow)
LGTM, but please consider my suggestion. http://codereview.chromium.org/10491013/diff/23001/chrome/browser/policy/policy_loader_win_unittest.cc File chrome/browser/policy/policy_loader_win_unittest.cc (right): http://codereview.chromium.org/10491013/diff/23001/chrome/browser/policy/policy_loader_win_unittest.cc#newcode241 chrome/browser/policy/policy_loader_win_unittest.cc:241: AsyncPolicyProvider provider(&test_policy_definitions::kList, loader.Pass()); ...
8 years, 6 months ago (2012-06-06 13:24:52 UTC) #4
Joao da Silva
http://codereview.chromium.org/10491013/diff/23001/chrome/browser/policy/policy_loader_win_unittest.cc File chrome/browser/policy/policy_loader_win_unittest.cc (right): http://codereview.chromium.org/10491013/diff/23001/chrome/browser/policy/policy_loader_win_unittest.cc#newcode241 chrome/browser/policy/policy_loader_win_unittest.cc:241: AsyncPolicyProvider provider(&test_policy_definitions::kList, loader.Pass()); On 2012/06/06 13:24:52, Mattias Nissler wrote: ...
8 years, 6 months ago (2012-06-06 14:47:24 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/10491013/27005
8 years, 6 months ago (2012-06-06 14:48:15 UTC) #6
commit-bot: I haz the power
8 years, 6 months ago (2012-06-06 15:51:52 UTC) #7
Change committed as 140770

Powered by Google App Engine
This is Rietveld 408576698