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

Issue 7669061: Tommi: I need an owner review for the chrome frame changes. (Closed)

Created:
9 years, 4 months ago by Roger Tawa OOO till Jul 10th
Modified:
9 years, 4 months ago
CC:
chromium-reviews, amit, Paweł Hajdan Jr., brettw-cc_chromium.org
Visibility:
Public.

Description

Tommi: I need an owner review for the chrome frame changes. Moving the test helper class TempRegKeyOverride since I need to do something similar in some new RLZ tests, and I don't want to duplicate the code. Please suggest a better namespace name if needed, I was just following the same pattern found in test_file_util in the same directory. BUG=None TEST=No new tests, just refactoring test helpers Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98100

Patch Set 1 #

Total comments: 14

Patch Set 2 : '' #

Patch Set 3 : Making use of scoped cleanup where it helps #

Total comments: 2

Patch Set 4 : Force registry overrides to go through new override manager #

Total comments: 2

Patch Set 5 : Moved private class declaration down #

Total comments: 6

Patch Set 6 : Addressing Tommi's nits #

Patch Set 7 : Uploading any merges from gclient sync, no new changes #

Patch Set 8 : Fixing license issue from presubmit check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -137 lines) Patch
M base/base.gyp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
A base/test/test_reg_util_win.h View 1 2 3 4 1 chunk +64 lines, -0 lines 0 comments Download
A base/test/test_reg_util_win.cc View 1 2 3 4 5 1 chunk +65 lines, -0 lines 0 comments Download
M chrome/installer/util/install_util_unittest.cc View 1 2 3 4 5 6 15 chunks +20 lines, -18 lines 0 comments Download
M chrome/installer/util/installer_state_unittest.cc View 1 2 3 4 5 6 6 chunks +9 lines, -5 lines 0 comments Download
M chrome/installer/util/product_state_unittest.cc View 1 2 3 4 5 6 5 chunks +5 lines, -3 lines 0 comments Download
M chrome/installer/util/product_unittest.h View 1 2 3 4 5 6 2 chunks +0 lines, -18 lines 0 comments Download
M chrome/installer/util/product_unittest.cc View 1 2 3 4 5 6 4 chunks +4 lines, -31 lines 0 comments Download
M chrome_frame/test/chrome_frame_test_utils.h View 1 2 3 4 5 6 3 chunks +6 lines, -17 lines 0 comments Download
M chrome_frame/test/chrome_frame_test_utils.cc View 1 2 3 4 5 6 2 chunks +6 lines, -33 lines 0 comments Download
M chrome_frame/test/policy_settings_unittest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome_frame/test/util_unittests.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -11 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Roger Tawa OOO till Jul 10th
9 years, 4 months ago (2011-08-18 20:20:38 UTC) #1
tommi
lgtm.
9 years, 4 months ago (2011-08-18 20:42:04 UTC) #2
tommi (sloooow) - chröme
lgtm. (from the right account this time)
9 years, 4 months ago (2011-08-18 20:43:48 UTC) #3
Paweł Hajdan Jr.
http://codereview.chromium.org/7669061/diff/1/base/test/test_reg_util_win.cc File base/test/test_reg_util_win.cc (right): http://codereview.chromium.org/7669061/diff/1/base/test/test_reg_util_win.cc#newcode15 base/test/test_reg_util_win.cc:15: : override_(override), temp_name_(temp_name) { nit: Each one on its ...
9 years, 4 months ago (2011-08-18 22:42:47 UTC) #4
Roger Tawa OOO till Jul 10th
Thanks Pawel, please take another look. http://codereview.chromium.org/7669061/diff/1/base/test/test_reg_util_win.cc File base/test/test_reg_util_win.cc (right): http://codereview.chromium.org/7669061/diff/1/base/test/test_reg_util_win.cc#newcode15 base/test/test_reg_util_win.cc:15: : override_(override), temp_name_(temp_name) ...
9 years, 4 months ago (2011-08-22 19:24:42 UTC) #5
Paweł Hajdan Jr.
http://codereview.chromium.org/7669061/diff/11002/chrome/installer/util/product_state_unittest.cc File chrome/installer/util/product_state_unittest.cc (right): http://codereview.chromium.org/7669061/diff/11002/chrome/installer/util/product_state_unittest.cc#newcode99 chrome/installer/util/product_state_unittest.cc:99: ScopedRegistryKeyOverride::DeleteAllTempKeys(); And this doesn't use the cleanup scoper. Could ...
9 years, 4 months ago (2011-08-22 19:42:58 UTC) #6
Roger Tawa OOO till Jul 10th
http://codereview.chromium.org/7669061/diff/11002/chrome/installer/util/product_state_unittest.cc File chrome/installer/util/product_state_unittest.cc (right): http://codereview.chromium.org/7669061/diff/11002/chrome/installer/util/product_state_unittest.cc#newcode99 chrome/installer/util/product_state_unittest.cc:99: ScopedRegistryKeyOverride::DeleteAllTempKeys(); On 2011/08/22 19:42:58, Paweł Hajdan Jr. wrote: > ...
9 years, 4 months ago (2011-08-22 20:19:17 UTC) #7
Roger Tawa OOO till Jul 10th
Hi Tommi, To force users not to use ScopedRegistryKeyOverride directly and go through a manager ...
9 years, 4 months ago (2011-08-23 14:43:24 UTC) #8
tommi (sloooow) - chröme
Absolutely not! I kid I kid... I'll take a look tonight. On Tue, Aug 23, ...
9 years, 4 months ago (2011-08-23 14:46:25 UTC) #9
Paweł Hajdan Jr.
LGTM, thanks! http://codereview.chromium.org/7669061/diff/13005/base/test/test_reg_util_win.h File base/test/test_reg_util_win.h (right): http://codereview.chromium.org/7669061/diff/13005/base/test/test_reg_util_win.h#newcode23 base/test/test_reg_util_win.h:23: // Keeps track of one override. nit: ...
9 years, 4 months ago (2011-08-23 18:19:05 UTC) #10
Roger Tawa OOO till Jul 10th
Thanks. Will wait for Tommi's l g t m. http://codereview.chromium.org/7669061/diff/13005/base/test/test_reg_util_win.h File base/test/test_reg_util_win.h (right): http://codereview.chromium.org/7669061/diff/13005/base/test/test_reg_util_win.h#newcode23 base/test/test_reg_util_win.h:23: ...
9 years, 4 months ago (2011-08-23 18:33:48 UTC) #11
tommi (sloooow) - chröme
lgtm! http://codereview.chromium.org/7669061/diff/17001/base/test/test_reg_util_win.cc File base/test/test_reg_util_win.cc (right): http://codereview.chromium.org/7669061/diff/17001/base/test/test_reg_util_win.cc#newcode20 base/test/test_reg_util_win.cc:20: DCHECK(temp_name_.length() > 0); nit: DCHECK(!temp_name.empty()); http://codereview.chromium.org/7669061/diff/17001/chrome/installer/util/product_unittest.h File chrome/installer/util/product_unittest.h ...
9 years, 4 months ago (2011-08-23 20:33:24 UTC) #12
Roger Tawa OOO till Jul 10th
Thanks guys. Will commit shortly. http://codereview.chromium.org/7669061/diff/17001/base/test/test_reg_util_win.cc File base/test/test_reg_util_win.cc (right): http://codereview.chromium.org/7669061/diff/17001/base/test/test_reg_util_win.cc#newcode20 base/test/test_reg_util_win.cc:20: DCHECK(temp_name_.length() > 0); On ...
9 years, 4 months ago (2011-08-23 21:08:02 UTC) #13
commit-bot: I haz the power
Presubmit check for 7669061-18016 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 4 months ago (2011-08-23 21:28:49 UTC) #14
Mark Mentovai
LGTM for OWNERS approval in base only.
9 years, 4 months ago (2011-08-23 21:57:33 UTC) #15
commit-bot: I haz the power
9 years, 4 months ago (2011-08-24 20:02:49 UTC) #16
Change committed as 98100

Powered by Google App Engine
This is Rietveld 408576698