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

Issue 8467011: Include only policy definitions that apply to the platfrom in the policy definition list. (Closed)

Created:
9 years, 1 month ago by Mattias Nissler (ping if slow)
Modified:
9 years, 1 month ago
Reviewers:
Joao da Silva
CC:
chromium-reviews, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Include only policy definitions that apply to the platfrom in the policy definition list. BUG=chromium-os:19411 TEST=compiles, unit tests pass. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109405

Patch Set 1 #

Total comments: 4

Patch Set 2 : Adjust all policy provider tests to use shared testing code. Net-negative line counts! #

Total comments: 12

Patch Set 3 : Addressed feedback. #

Total comments: 2

Patch Set 4 : Removed dead declarations. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+735 lines, -1209 lines) Patch
M chrome/app/policy/cloud_policy_codegen.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/policy/asynchronous_policy_loader.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/policy/asynchronous_policy_loader.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/asynchronous_policy_loader_unittest.cc View 1 2 5 chunks +35 lines, -27 lines 0 comments Download
M chrome/browser/policy/asynchronous_policy_provider.h View 1 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/policy/asynchronous_policy_provider.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/policy/asynchronous_policy_provider_unittest.cc View 1 2 3 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/policy/asynchronous_policy_test_base.h View 1 2 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/browser/policy/asynchronous_policy_test_base.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/policy/config_dir_policy_provider_unittest.cc View 1 2 chunks +118 lines, -336 lines 0 comments Download
M chrome/browser/policy/configuration_policy_loader_win.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/policy/configuration_policy_loader_win.cc View 1 2 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/policy/configuration_policy_provider_mac_unittest.cc View 1 2 2 chunks +105 lines, -317 lines 0 comments Download
A chrome/browser/policy/configuration_policy_provider_test.h View 1 2 1 chunk +112 lines, -0 lines 0 comments Download
A chrome/browser/policy/configuration_policy_provider_test.cc View 1 2 1 chunk +143 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_provider_win_unittest.cc View 1 2 3 3 chunks +142 lines, -443 lines 0 comments Download
M chrome/browser/policy/file_based_policy_loader.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/file_based_policy_loader.cc View 1 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/policy/file_based_policy_provider_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/tools/build/generate_policy_source.py View 12 chunks +34 lines, -37 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Mattias Nissler (ping if slow)
Joao, I've moved the policy definition list changes and test cleanup to this separate CL ...
9 years, 1 month ago (2011-11-07 10:50:07 UTC) #1
Joao da Silva
Do you want to make the same changes to configuration_policy_provider_mac_unittest.cc and _win_unittest.cc? The mac bots ...
9 years, 1 month ago (2011-11-07 13:06:17 UTC) #2
Mattias Nissler (ping if slow)
My dear Mr. da Silva, care to take another look? If rewritten most of the ...
9 years, 1 month ago (2011-11-09 14:37:27 UTC) #3
Joao da Silva
That was a lot of work! Looks good, ready to stamp after the CHECK issue ...
9 years, 1 month ago (2011-11-09 15:37:47 UTC) #4
Mattias Nissler (ping if slow)
New version is up for review. http://codereview.chromium.org/8467011/diff/5001/chrome/browser/policy/configuration_policy_provider_mac_unittest.cc File chrome/browser/policy/configuration_policy_provider_mac_unittest.cc (right): http://codereview.chromium.org/8467011/diff/5001/chrome/browser/policy/configuration_policy_provider_mac_unittest.cc#newcode73 chrome/browser/policy/configuration_policy_provider_mac_unittest.cc:73: CFNumberCreate(NULL, kCFNumberIntType, &policy_value), ...
9 years, 1 month ago (2011-11-09 17:04:10 UTC) #5
Joao da Silva
LGTM http://codereview.chromium.org/8467011/diff/5003/chrome/browser/policy/configuration_policy_provider_win_unittest.cc File chrome/browser/policy/configuration_policy_provider_win_unittest.cc (right): http://codereview.chromium.org/8467011/diff/5003/chrome/browser/policy/configuration_policy_provider_win_unittest.cc#newcode89 chrome/browser/policy/configuration_policy_provider_win_unittest.cc:89: void DeleteRegistrySandbox(); Nit: remove this 3 dead declarations
9 years, 1 month ago (2011-11-09 18:02:40 UTC) #6
Mattias Nissler (ping if slow)
Thanks for the review, I'll submit this tomorrow. http://codereview.chromium.org/8467011/diff/5003/chrome/browser/policy/configuration_policy_provider_win_unittest.cc File chrome/browser/policy/configuration_policy_provider_win_unittest.cc (right): http://codereview.chromium.org/8467011/diff/5003/chrome/browser/policy/configuration_policy_provider_win_unittest.cc#newcode89 chrome/browser/policy/configuration_policy_provider_win_unittest.cc:89: void ...
9 years, 1 month ago (2011-11-09 18:06:05 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/8467011/5004
9 years, 1 month ago (2011-11-10 09:09:40 UTC) #8
commit-bot: I haz the power
9 years, 1 month ago (2011-11-10 10:08:24 UTC) #9
Change committed as 109405

Powered by Google App Engine
This is Rietveld 408576698