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

Issue 3774003: Cleanup and style guideline conformance for policy implementation (Closed)

Created:
10 years, 2 months ago by danno
Modified:
9 years, 7 months ago
CC:
chromium-reviews, M-A Ruel, pamg, Paweł Hajdan Jr., ben+cc_chromium.org, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org
Base URL:
git://codf21.jail/chromium.git
Visibility:
Public.

Description

Many small changes to improve readability of configuration policy code. BUG=none TEST=none

Patch Set 1 #

Patch Set 2 : add missing unit test file #

Total comments: 22

Patch Set 3 : address review feedback #

Patch Set 4 : merge with latest #

Total comments: 12

Patch Set 5 : review feedback #

Total comments: 8

Patch Set 6 : readability feedback #

Patch Set 7 : merge with top-of-tree #

Patch Set 8 : fix try bots #

Patch Set 9 : fix stray character #

Total comments: 1

Patch Set 10 : fix windows build and tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+734 lines, -708 lines) Patch
M chrome/browser/extensions/extension_pref_store.h View 5 6 7 4 chunks +23 lines, -22 lines 0 comments Download
M chrome/browser/policy/config_dir_policy_provider.cc View 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/policy/config_dir_policy_provider_unittest.cc View 3 4 5 6 5 chunks +38 lines, -38 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store.h View 1 2 3 4 5 6 8 5 chunks +23 lines, -19 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store.cc View 1 2 3 4 5 6 15 chunks +192 lines, -189 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store_unittest.cc View 2 3 4 5 21 chunks +126 lines, -133 lines 0 comments Download
M chrome/browser/policy/configuration_policy_provider.h View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/policy/configuration_policy_provider_mac.h View 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_provider_mac_unittest.cc View 5 6 5 chunks +37 lines, -37 lines 0 comments Download
M chrome/browser/policy/configuration_policy_provider_win.h View 1 2 3 4 5 6 3 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/policy/configuration_policy_provider_win.cc View 1 2 3 4 5 6 7 8 9 6 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/policy/configuration_policy_provider_win_unittest.cc View 1 2 3 4 5 6 7 8 9 8 chunks +44 lines, -40 lines 0 comments Download
D chrome/browser/policy/configuration_policy_store.h View 1 2 3 4 5 1 chunk +0 lines, -81 lines 0 comments Download
A chrome/browser/policy/configuration_policy_store_interface.h View 3 4 5 6 1 chunk +83 lines, -0 lines 0 comments Download
M chrome/browser/policy/dummy_configuration_policy_provider.h View 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/file_based_policy_provider.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/file_based_policy_provider.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/policy/file_based_policy_provider_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/mock_configuration_policy_provider.h View 3 4 5 6 1 chunk +6 lines, -20 lines 0 comments Download
A chrome/browser/policy/mock_configuration_policy_provider.cc View 5 6 1 chunk +35 lines, -0 lines 0 comments Download
M chrome/browser/policy/mock_configuration_policy_store.h View 3 4 5 1 chunk +7 lines, -6 lines 0 comments Download
M chrome/browser/prefs/command_line_pref_store.h View 5 3 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/prefs/command_line_pref_store.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/prefs/default_pref_store.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/default_pref_store.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/dummy_pref_store.h View 5 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/prefs/pref_service_unittest.cc View 3 4 5 17 chunks +76 lines, -83 lines 0 comments Download
M chrome/chrome_browser.gypi View 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/json_pref_store.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/pref_store.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
danno
Please review for C++ readability. Also please note that the code review tool for Chromium ...
10 years, 2 months ago (2010-10-14 11:49:22 UTC) #1
nadav
Hi Daniel, I made a first pass through configuration_policy_pref_store.{h,cc}. The code is very readable, but ...
10 years, 2 months ago (2010-10-14 16:56:39 UTC) #2
danno
Thanks for the review feedback. I made a pass over the code to fix all ...
10 years, 2 months ago (2010-10-18 13:14:23 UTC) #3
nadav
Hi again, I made a few more comments, and again, some of the issues may ...
10 years, 2 months ago (2010-10-20 02:02:25 UTC) #4
danno
I have addressed your feedback, thanks for that. Several additional files have gotten pulled into ...
10 years, 2 months ago (2010-10-25 22:13:07 UTC) #5
nadav
Danno, I actually think that keeping the "Interface" suffix on pure interfaces is somewhat important. ...
10 years, 1 month ago (2010-10-26 17:37:59 UTC) #6
Mattias Nissler (ping if slow)
On 2010/10/26 17:37:59, nadav wrote: > I actually think that keeping the "Interface" suffix on ...
10 years, 1 month ago (2010-10-27 08:30:31 UTC) #7
nadav
I understand where you're coming from, and when setting a coding style there's always the ...
10 years, 1 month ago (2010-10-27 15:47:20 UTC) #8
danno
OK, I'll see what chromium thinks about this. In parallel, I'll continue to work on ...
10 years, 1 month ago (2010-10-27 15:54:32 UTC) #9
danno
I addressed your feedback, please take another look. Thanks, Danno http://codereview.chromium.org/3774003/diff/72001/73005 File chrome/browser/policy/configuration_policy_pref_store.cc (right): http://codereview.chromium.org/3774003/diff/72001/73005#newcode74 ...
10 years, 1 month ago (2010-10-28 21:02:36 UTC) #10
nadav
LGTM approved for C++ readability
10 years, 1 month ago (2010-10-29 21:52:43 UTC) #11
danno
Hi Gabor. As discussed, I need a chromium reviewer's LGTM in addition to nadav's, please ...
10 years, 1 month ago (2010-11-02 12:56:19 UTC) #12
gfeher
10 years, 1 month ago (2010-11-02 13:40:57 UTC) #13
LGTM with a likely typo.
(And you have two green trybots that are actually not completed.)

http://codereview.chromium.org/3774003/diff/108001/109012
File chrome/browser/policy/configuration_policy_provider_win_unittest.cc
(right):

http://codereview.chromium.org/3774003/diff/108001/109012#newcode219
chrome/browser/policy/configuration_policy_provider_win_unittest.cc:219:
key.DeleteKey(Lstd::string());
Typo?

Powered by Google App Engine
This is Rietveld 408576698