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

Issue 14265020: Remove scoped_array usage from RegistryKeyBackup. (Closed)

Created:
7 years, 8 months ago by dcheng
Modified:
7 years, 8 months ago
CC:
chromium-reviews, grt+watch_chromium.org
Visibility:
Public.

Description

Remove scoped_array usage from RegistryKeyBackup. BUG=171111 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194672

Patch Set 1 #

Patch Set 2 : Namespace adjustment #

Total comments: 38

Patch Set 3 : FIxups #

Patch Set 4 : One more #

Total comments: 2

Patch Set 5 : Fix nits #

Patch Set 6 : static_cast<DWORD> #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -108 lines) Patch
M chrome/installer/util/registry_key_backup.cc View 1 2 3 4 5 11 chunks +74 lines, -108 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
dcheng
IMO, this is slightly clunky but I don't have much better ideas about this either.
7 years, 8 months ago (2013-04-16 04:05:05 UTC) #1
tommi (sloooow) - chröme
This lg to me but would like Greg to take a look at this as ...
7 years, 8 months ago (2013-04-16 11:22:09 UTC) #2
grt (UTC plus 2)
looks good. there are two more uses of scoped_array that are easily removed; see below. ...
7 years, 8 months ago (2013-04-16 14:28:25 UTC) #3
dcheng
PTAL. Note that I've removed code related to numeric_limits since a reading of http://msdn.microsoft.com/en-us/library/windows/desktop/ms724872(v=vs.85).aspx suggests ...
7 years, 8 months ago (2013-04-16 18:49:53 UTC) #4
grt (UTC plus 2)
lgtm w/ two nits. https://codereview.chromium.org/14265020/diff/10001/chrome/installer/util/registry_key_backup.cc File chrome/installer/util/registry_key_backup.cc (right): https://codereview.chromium.org/14265020/diff/10001/chrome/installer/util/registry_key_backup.cc#newcode156 chrome/installer/util/registry_key_backup.cc:156: if (value_size > value_buffer.size()) { ...
7 years, 8 months ago (2013-04-17 18:13:56 UTC) #5
dcheng
7 years, 8 months ago (2013-04-17 21:07:32 UTC) #6
Message was sent while issue was closed.
Committed patchset #6 manually as r194672 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698