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

Issue 632833002: Remove raw handles from base::win::RegKey (Closed)

Created:
6 years, 2 months ago by rvargas (doing something else)
Modified:
6 years, 2 months ago
CC:
cbentzel+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, erikwright+watch_chromium.org, jam, mmenke, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove raw handles from base::win::RegKey BUG=419210, 423634 R=cpu@chromium.org, eroman@chromium.org, sky@chromium.org Committed: https://crrev.com/1aa0fa75b65f403e08ae0f3f2fcb053c02cd9ef2 Cr-Commit-Position: refs/heads/master@{#299737} Committed: https://crrev.com/6f315b85b9126cdbbeee5457a7fa1dbeed058105 Cr-Commit-Position: refs/heads/master@{#300036}

Patch Set 1 #

Patch Set 2 : Fix stale logic #

Total comments: 2

Patch Set 3 : use composition #

Total comments: 2

Patch Set 4 : Split watcher #

Total comments: 20

Patch Set 5 : Eric's feedback #

Patch Set 6 : Rebase #

Patch Set 7 : Remove XP specific code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -171 lines) Patch
M base/win/registry.h View 1 2 3 4 5 4 chunks +13 lines, -13 lines 0 comments Download
M base/win/registry.cc View 1 2 3 4 5 6 4 chunks +59 lines, -47 lines 0 comments Download
M base/win/registry_unittest.cc View 1 2 2 chunks +65 lines, -0 lines 0 comments Download
M content/browser/plugin_service_impl.h View 1 2 3 4 5 2 chunks +3 lines, -5 lines 0 comments Download
M content/browser/plugin_service_impl.cc View 3 chunks +13 lines, -34 lines 0 comments Download
M net/dns/dns_config_service_win.cc View 1 2 3 4 5 4 chunks +14 lines, -20 lines 0 comments Download
M net/proxy/proxy_config_service_win.h View 1 2 3 4 5 4 chunks +12 lines, -10 lines 0 comments Download
M net/proxy/proxy_config_service_win.cc View 1 2 3 4 4 chunks +18 lines, -42 lines 0 comments Download

Messages

Total messages: 30 (7 generated)
rvargas (doing something else)
cpu: please take a look at base.
6 years, 2 months ago (2014-10-07 02:28:25 UTC) #2
cpu_(ooo_6.6-7.5)
otherwise looks nice. Well, there is the issue of :: on the windows calls. https://codereview.chromium.org/632833002/diff/20001/base/win/registry.h ...
6 years, 2 months ago (2014-10-08 21:36:46 UTC) #3
rvargas (doing something else)
Thanks. PTAL. > Well, there is the issue of :: on the windows calls. Isn't ...
6 years, 2 months ago (2014-10-08 23:01:46 UTC) #4
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/632833002/diff/40001/base/win/registry.cc File base/win/registry.cc (right): https://codereview.chromium.org/632833002/diff/40001/base/win/registry.cc#newcode46 base/win/registry.cc:46: private: now that you have this helper guy seems ...
6 years, 2 months ago (2014-10-08 23:28:19 UTC) #5
rvargas (doing something else)
ptal https://codereview.chromium.org/632833002/diff/40001/base/win/registry.cc File base/win/registry.cc (right): https://codereview.chromium.org/632833002/diff/40001/base/win/registry.cc#newcode46 base/win/registry.cc:46: private: On 2014/10/08 23:28:19, cpu wrote: > now ...
6 years, 2 months ago (2014-10-09 00:22:47 UTC) #7
cpu_(ooo_6.6-7.5)
lgtm
6 years, 2 months ago (2014-10-09 19:36:26 UTC) #8
rvargas (doing something else)
+ eroman -> net + sky -> content
6 years, 2 months ago (2014-10-10 20:23:56 UTC) #10
eroman
https://codereview.chromium.org/632833002/diff/80001/base/win/registry.cc File base/win/registry.cc (right): https://codereview.chromium.org/632833002/diff/80001/base/win/registry.cc#newcode63 base/win/registry.cc:63: return true; This doesn't match my expectation of what ...
6 years, 2 months ago (2014-10-10 21:34:36 UTC) #11
eroman
https://codereview.chromium.org/632833002/diff/80001/net/proxy/proxy_config_service_win.cc File net/proxy/proxy_config_service_win.cc (right): https://codereview.chromium.org/632833002/diff/80001/net/proxy/proxy_config_service_win.cc#newcode122 net/proxy/proxy_config_service_win.cc:122: KeyEntryList::iterator it; Looks like the pre-existing code is bad ...
6 years, 2 months ago (2014-10-10 21:41:58 UTC) #12
rvargas (doing something else)
Thanks https://codereview.chromium.org/632833002/diff/80001/base/win/registry.cc File base/win/registry.cc (right): https://codereview.chromium.org/632833002/diff/80001/base/win/registry.cc#newcode63 base/win/registry.cc:63: return true; On 2014/10/10 21:34:35, eroman wrote: > ...
6 years, 2 months ago (2014-10-10 22:22:06 UTC) #13
eroman
lgtm https://codereview.chromium.org/632833002/diff/80001/net/proxy/proxy_config_service_win.cc File net/proxy/proxy_config_service_win.cc (right): https://codereview.chromium.org/632833002/diff/80001/net/proxy/proxy_config_service_win.cc#newcode122 net/proxy/proxy_config_service_win.cc:122: KeyEntryList::iterator it; On 2014/10/10 22:22:05, rvargas wrote: > ...
6 years, 2 months ago (2014-10-10 22:35:12 UTC) #14
sky
sky->jam
6 years, 2 months ago (2014-10-13 16:51:47 UTC) #16
jam
lgtm
6 years, 2 months ago (2014-10-15 16:05:39 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/632833002/330001
6 years, 2 months ago (2014-10-15 18:52:12 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:330001)
6 years, 2 months ago (2014-10-15 19:16:56 UTC) #20
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/1aa0fa75b65f403e08ae0f3f2fcb053c02cd9ef2 Cr-Commit-Position: refs/heads/master@{#299737}
6 years, 2 months ago (2014-10-15 19:17:47 UTC) #21
dcheng
Not sure why, but ChangeCallback is consistently timing out on the XP Tests (1). See ...
6 years, 2 months ago (2014-10-16 03:04:40 UTC) #23
dcheng
A revert of this CL (patchset #6 id:330001) has been created in https://codereview.chromium.org/652903005/ by dcheng@chromium.org. ...
6 years, 2 months ago (2014-10-16 03:05:10 UTC) #24
rvargas (doing something else)
cpu, do you mind looking at registry.cc again? Patch set 6 landed/was reverted. PS 7 ...
6 years, 2 months ago (2014-10-16 22:12:25 UTC) #25
cpu_(ooo_6.6-7.5)
lgtm
6 years, 2 months ago (2014-10-16 22:43:59 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/632833002/350001
6 years, 2 months ago (2014-10-16 22:46:40 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:350001)
6 years, 2 months ago (2014-10-17 01:29:11 UTC) #29
commit-bot: I haz the power
6 years, 2 months ago (2014-10-17 01:29:56 UTC) #30
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/6f315b85b9126cdbbeee5457a7fa1dbeed058105
Cr-Commit-Position: refs/heads/master@{#300036}

Powered by Google App Engine
This is Rietveld 408576698