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

Issue 13963003: Add standard policy provider tests for PReg policy reading. (Closed)

Created:
7 years, 8 months ago by Mattias Nissler (ping if slow)
Modified:
7 years, 8 months ago
Reviewers:
Joao da Silva
CC:
chromium-reviews
Visibility:
Public.

Description

Add standard policy provider tests for PReg policy reading. This wires up the standard ConfigurationPolicyProviderTest suite with a PolicyLoaderWin that is reading policy from GPO PReg files. BUG=chromium:186445 TEST=unit tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194549

Patch Set 1 #

Total comments: 24

Patch Set 2 : Fix DWORD byte order on write. #

Patch Set 3 : More byte order fixes. #

Patch Set 4 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+375 lines, -61 lines) Patch
M chrome/browser/policy/policy_loader_win.h View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/policy/policy_loader_win.cc View 4 chunks +6 lines, -8 lines 0 comments Download
M chrome/browser/policy/policy_loader_win_unittest.cc View 1 2 3 10 chunks +355 lines, -43 lines 0 comments Download
M chrome/browser/policy/preg_parser_win.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/policy/preg_parser_win.cc View 3 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Mattias Nissler (ping if slow)
Here are a couple more tests, please review.
7 years, 8 months ago (2013-04-16 09:05:18 UTC) #1
Joao da Silva
lgtm with nits. Why isn't the ScopedTempDir cleaned up? https://codereview.chromium.org/13963003/diff/1/chrome/browser/policy/policy_loader_win.h File chrome/browser/policy/policy_loader_win.h (right): https://codereview.chromium.org/13963003/diff/1/chrome/browser/policy/policy_loader_win.h#newcode18 chrome/browser/policy/policy_loader_win.h:18: ...
7 years, 8 months ago (2013-04-16 10:46:25 UTC) #2
Mattias Nissler (ping if slow)
Thanks for the review. Now you know how much I've come to depend on automatic ...
7 years, 8 months ago (2013-04-16 13:00:05 UTC) #3
Joao da Silva
Looks good to me after the last changes. Can you run this through the try ...
7 years, 8 months ago (2013-04-16 13:05:14 UTC) #4
Mattias Nissler (ping if slow)
On 2013/04/16 13:05:14, Joao da Silva wrote: > Looks good to me after the last ...
7 years, 8 months ago (2013-04-16 13:08:39 UTC) #5
Mattias Nissler (ping if slow)
7 years, 8 months ago (2013-04-17 09:16:39 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r194549 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698