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

Issue 10443108: Implement the ConfigDirPolicyProvider based on the AsyncPolicyLoader (Closed)

Created:
8 years, 6 months ago by Joao da Silva
Modified:
8 years, 6 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Implement the ConfigDirPolicyProvider based on the AsyncPolicyLoader. Also makes the ConfigDirPolicyLoader load both mandatory and recommended policies, and removes the recommended_platform_provider from the connector; there's only one platform provider now. BUG=108996, 130918 TEST=Nothing breaks Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140549

Patch Set 1 #

Patch Set 2 : Update the connector too #

Total comments: 4

Patch Set 3 : Avoid unused var warning #

Patch Set 4 : Rebased on the mac patch #

Patch Set 5 : Rebased on the AsyncPolicyLoader CL #

Patch Set 6 : Fix win build #

Patch Set 7 : Fix unit_test win build #

Total comments: 8

Patch Set 8 : addressed comments, added FilePathWatchers #

Total comments: 2

Patch Set 9 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -181 lines) Patch
M chrome/browser/policy/browser_policy_connector.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/policy/browser_policy_connector.cc View 1 2 3 4 5 6 7 8 5 chunks +8 lines, -33 lines 0 comments Download
A chrome/browser/policy/config_dir_policy_loader.h View 1 2 3 4 5 6 7 8 1 chunk +67 lines, -0 lines 0 comments Download
A + chrome/browser/policy/config_dir_policy_loader.cc View 1 2 3 4 5 6 7 5 chunks +83 lines, -55 lines 0 comments Download
A + chrome/browser/policy/config_dir_policy_loader_unittest.cc View 1 2 3 4 5 6 7 9 chunks +21 lines, -22 lines 0 comments Download
M chrome/browser/policy/config_dir_policy_provider.h View 1 2 3 4 1 chunk +0 lines, -64 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Joao da Silva
Here's another one, please review :-)
8 years, 6 months ago (2012-05-31 13:38:07 UTC) #1
Mattias Nissler (ping if slow)
almost looks good. https://chromiumcodereview.appspot.com/10443108/diff/7001/chrome/browser/policy/config_dir_policy_provider.cc File chrome/browser/policy/config_dir_policy_provider.cc (right): https://chromiumcodereview.appspot.com/10443108/diff/7001/chrome/browser/policy/config_dir_policy_provider.cc#newcode51 chrome/browser/policy/config_dir_policy_provider.cc:51: // If the path does not ...
8 years, 6 months ago (2012-05-31 13:58:09 UTC) #2
Joao da Silva
CL 3/5: refactored the config dir provider to be based on the AsyncPolicyLoader. Also manually ...
8 years, 6 months ago (2012-06-03 15:02:01 UTC) #3
Mattias Nissler (ping if slow)
http://codereview.chromium.org/10443108/diff/15012/chrome/browser/policy/config_dir_policy_loader.cc File chrome/browser/policy/config_dir_policy_loader.cc (right): http://codereview.chromium.org/10443108/diff/15012/chrome/browser/policy/config_dir_policy_loader.cc#newcode22 chrome/browser/policy/config_dir_policy_loader.cc:22: const char kMandatoryConfigDir[] = "managed"; why not make these ...
8 years, 6 months ago (2012-06-04 09:36:36 UTC) #4
Joao da Silva
This has been rebased on the AsyncPolicyLoader without WatchPath(), and now has 2 FilePathWatchers. http://codereview.chromium.org/10443108/diff/15012/chrome/browser/policy/config_dir_policy_loader.cc ...
8 years, 6 months ago (2012-06-05 09:16:28 UTC) #5
Mattias Nissler (ping if slow)
LGTM with a nit http://codereview.chromium.org/10443108/diff/29001/chrome/browser/policy/config_dir_policy_loader.h File chrome/browser/policy/config_dir_policy_loader.h (right): http://codereview.chromium.org/10443108/diff/29001/chrome/browser/policy/config_dir_policy_loader.h#newcode26 chrome/browser/policy/config_dir_policy_loader.h:26: // last value read takes ...
8 years, 6 months ago (2012-06-05 12:00:16 UTC) #6
Joao da Silva
https://chromiumcodereview.appspot.com/10443108/diff/29001/chrome/browser/policy/config_dir_policy_loader.h File chrome/browser/policy/config_dir_policy_loader.h (right): https://chromiumcodereview.appspot.com/10443108/diff/29001/chrome/browser/policy/config_dir_policy_loader.h#newcode26 chrome/browser/policy/config_dir_policy_loader.h:26: // last value read takes precedence in case of ...
8 years, 6 months ago (2012-06-05 14:51:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/10443108/39002
8 years, 6 months ago (2012-06-05 15:50:06 UTC) #8
commit-bot: I haz the power
8 years, 6 months ago (2012-06-05 17:35:48 UTC) #9
Change committed as 140549

Powered by Google App Engine
This is Rietveld 408576698