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

Issue 11786005: Remove uses of PropVariantTo*; removing the need to DelayLoad propsys.dll. (Closed)

Created:
7 years, 11 months ago by gab
Modified:
7 years, 11 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Remove uses of PropVariantTo*; removing the need to DelayLoad propsys.dll. Introduces base::win::ScopedPropVariant. A cleanup CL will follow to remove other specialized instances (e.g., string only) of a scoped PROPVARIANT and to fix unscoped PROPVARIANTs (some of which are leaking memory as it is now). R=grt@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177951

Patch Set 1 : #

Total comments: 6

Patch Set 2 : ScopedPropVariant #

Patch Set 3 : +comment #

Total comments: 8

Patch Set 4 : better ScopedPropVariant #

Total comments: 11

Patch Set 5 : even better! #

Total comments: 11

Patch Set 6 : nits #

Total comments: 4

Patch Set 7 : comments #

Patch Set 8 : merge up to r176700 #

Patch Set 9 : dont call PropVariantClear if VT_EMPTY #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -94 lines) Patch
M base/base.gyp View 1 2 3 4 5 6 7 1 chunk +0 lines, -11 lines 0 comments Download
M base/base.gypi View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M base/test/test_shortcut_win.cc View 1 2 3 4 2 chunks +34 lines, -29 lines 0 comments Download
A base/win/scoped_propvariant.h View 1 2 3 4 5 6 7 8 1 chunk +59 lines, -0 lines 0 comments Download
M chrome/browser/shell_integration_win.cc View 1 2 3 4 5 5 chunks +33 lines, -43 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 1 chunk +0 lines, -9 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
gab
Sir, as discussed on https://codereview.chromium.org/11712003/ :).
7 years, 11 months ago (2013-01-07 19:46:03 UTC) #1
grt (UTC plus 2)
https://codereview.chromium.org/11786005/diff/12002/base/test/test_shortcut_win.cc File base/test/test_shortcut_win.cc (right): https://codereview.chromium.org/11786005/diff/12002/base/test/test_shortcut_win.cc#newcode124 base/test/test_shortcut_win.cc:124: PROPVARIANT pv_app_id; Init+Clear this as in the impl to ...
7 years, 11 months ago (2013-01-08 04:21:45 UTC) #2
gab
Sir, created a ScopedPropVariant, PTAL. Wasn't sure how to make it easy to access the ...
7 years, 11 months ago (2013-01-08 22:33:23 UTC) #3
grt (UTC plus 2)
https://codereview.chromium.org/11786005/diff/20007/base/win/scoped_propvariant.h File base/win/scoped_propvariant.h (right): https://codereview.chromium.org/11786005/diff/20007/base/win/scoped_propvariant.h#newcode15 base/win/scoped_propvariant.h:15: class ScopedPropVariant { it'd be nice if this scoper ...
7 years, 11 months ago (2013-01-09 14:30:10 UTC) #4
grt (UTC plus 2)
https://chromiumcodereview.appspot.com/11786005/diff/20007/base/win/scoped_propvariant.h File base/win/scoped_propvariant.h (right): https://chromiumcodereview.appspot.com/11786005/diff/20007/base/win/scoped_propvariant.h#newcode15 base/win/scoped_propvariant.h:15: class ScopedPropVariant { On 2013/01/09 14:30:10, grt wrote: > ...
7 years, 11 months ago (2013-01-09 16:06:16 UTC) #5
gab
Thanks, PTAL. https://codereview.chromium.org/11786005/diff/20007/base/win/scoped_propvariant.h File base/win/scoped_propvariant.h (right): https://codereview.chromium.org/11786005/diff/20007/base/win/scoped_propvariant.h#newcode15 base/win/scoped_propvariant.h:15: class ScopedPropVariant { On 2013/01/09 14:30:10, grt ...
7 years, 11 months ago (2013-01-09 20:43:39 UTC) #6
grt (UTC plus 2)
https://codereview.chromium.org/11786005/diff/20007/base/win/scoped_propvariant.h File base/win/scoped_propvariant.h (right): https://codereview.chromium.org/11786005/diff/20007/base/win/scoped_propvariant.h#newcode29 base/win/scoped_propvariant.h:29: const PROPVARIANT* operator->() const { On 2013/01/09 20:43:39, gab ...
7 years, 11 months ago (2013-01-10 03:24:05 UTC) #7
gab
Addressed comments and more, see below. Thanks! Gab https://codereview.chromium.org/11786005/diff/20007/base/win/scoped_propvariant.h File base/win/scoped_propvariant.h (right): https://codereview.chromium.org/11786005/diff/20007/base/win/scoped_propvariant.h#newcode29 base/win/scoped_propvariant.h:29: const ...
7 years, 11 months ago (2013-01-10 15:30:42 UTC) #8
grt (UTC plus 2)
lg https://codereview.chromium.org/11786005/diff/22002/base/win/scoped_propvariant.h File base/win/scoped_propvariant.h (right): https://codereview.chromium.org/11786005/diff/22002/base/win/scoped_propvariant.h#newcode23 base/win/scoped_propvariant.h:23: ~ScopedPropVariant() { nit: empty line before this https://codereview.chromium.org/11786005/diff/22002/base/win/scoped_propvariant.h#newcode27 ...
7 years, 11 months ago (2013-01-10 16:05:20 UTC) #9
gab
Done, PTAL. Thanks! Gab https://codereview.chromium.org/11786005/diff/22002/base/win/scoped_propvariant.h File base/win/scoped_propvariant.h (right): https://codereview.chromium.org/11786005/diff/22002/base/win/scoped_propvariant.h#newcode23 base/win/scoped_propvariant.h:23: ~ScopedPropVariant() { On 2013/01/10 16:05:20, ...
7 years, 11 months ago (2013-01-10 18:11:38 UTC) #10
grt (UTC plus 2)
https://codereview.chromium.org/11786005/diff/29004/base/win/scoped_propvariant.h File base/win/scoped_propvariant.h (right): https://codereview.chromium.org/11786005/diff/29004/base/win/scoped_propvariant.h#newcode28 base/win/scoped_propvariant.h:28: // Leaks the underlying PROPVARIANT. This should only be ...
7 years, 11 months ago (2013-01-10 20:58:08 UTC) #11
gab
Thanks for the better comments. https://codereview.chromium.org/11786005/diff/29004/base/win/scoped_propvariant.h File base/win/scoped_propvariant.h (right): https://codereview.chromium.org/11786005/diff/29004/base/win/scoped_propvariant.h#newcode28 base/win/scoped_propvariant.h:28: // Leaks the underlying ...
7 years, 11 months ago (2013-01-10 21:56:46 UTC) #12
grt (UTC plus 2)
lgtm. before committing, would you make a pass through the code to find other users ...
7 years, 11 months ago (2013-01-11 14:57:16 UTC) #13
gab
On 2013/01/11 14:57:16, grt wrote: > lgtm. before committing, would you make a pass through ...
7 years, 11 months ago (2013-01-14 22:38:41 UTC) #14
grt (UTC plus 2)
On 2013/01/14 22:38:41, gab wrote: > On 2013/01/11 14:57:16, grt wrote: > > lgtm. before ...
7 years, 11 months ago (2013-01-15 14:17:16 UTC) #15
gab
Perfect, thanks. @brettw for OWNER approval. Cheers, Gab
7 years, 11 months ago (2013-01-15 15:45:33 UTC) #16
gab
On 2013/01/15 15:45:33, gab wrote: > Perfect, thanks. > > @brettw for OWNER approval. Seems ...
7 years, 11 months ago (2013-01-15 15:47:28 UTC) #17
gab
@brettw: ping Thanks! Gab
7 years, 11 months ago (2013-01-17 14:41:03 UTC) #18
brettw
How much does this need to be in base? It doesn't look like there are ...
7 years, 11 months ago (2013-01-18 20:56:55 UTC) #19
gab
On 2013/01/18 20:56:55, brettw wrote: > How much does this need to be in base? ...
7 years, 11 months ago (2013-01-18 22:08:15 UTC) #20
brettw
I'd like to get cpu's opinion on whether we should include this in base.
7 years, 11 months ago (2013-01-18 22:10:10 UTC) #21
gab
On 2013/01/18 22:10:10, brettw wrote: > I'd like to get cpu's opinion on whether we ...
7 years, 11 months ago (2013-01-18 22:13:43 UTC) #22
cpu_(ooo_6.6-7.5)
I guess the issue is why the shortcut stuff is in base. We need another ...
7 years, 11 months ago (2013-01-20 22:56:05 UTC) #23
brettw
ok, owners lgtm, didn't read the details.
7 years, 11 months ago (2013-01-21 00:48:05 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/11786005/37001
7 years, 11 months ago (2013-01-21 16:08:03 UTC) #25
commit-bot: I haz the power
7 years, 11 months ago (2013-01-21 19:41:46 UTC) #26
Message was sent while issue was closed.
Change committed as 177951

Powered by Google App Engine
This is Rietveld 408576698