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

Issue 200045: Use Scoped[Bstr,ComPtr,Variant] instead of their ATL equivalents to reduce de... (Closed)

Created:
11 years, 3 months ago by James Hawkins
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, kuchhal, brettw, Ben Goodger (Google)
Visibility:
Public.

Description

Use Scoped[Bstr,ComPtr,Variant] instead of their ATL equivalents to reduce dependencies on ATL. BUG=5027 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25879

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 6

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 2

Patch Set 7 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -61 lines) Patch
M base/scoped_bstr_win.h View 1 2 3 4 5 6 1 chunk +2 lines, -4 lines 0 comments Download
M base/scoped_variant_win.h View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
MM base/scoped_variant_win.cc View 1 2 3 4 5 6 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_accessibility.cc View 1 2 3 4 5 6 2 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/browser_accessibility.cc View 1 2 3 4 5 6 6 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/history/history_publisher_win.cc View 1 2 3 4 5 6 2 chunks +16 lines, -14 lines 1 comment Download
M chrome/browser/importer/ie_importer.cc View 1 2 3 4 5 6 6 chunks +20 lines, -16 lines 0 comments Download
M views/accessibility/view_accessibility.cc View 1 2 3 4 5 6 4 chunks +4 lines, -4 lines 0 comments Download
M views/accessibility/view_accessibility_wrapper.h View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M views/accessibility/view_accessibility_wrapper.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M views/controls/textfield/native_textfield_win.h View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M views/controls/textfield/native_textfield_win.cc View 1 2 3 4 5 6 5 chunks +10 lines, -6 lines 0 comments Download
M views/widget/widget_win.h View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M views/widget/widget_win.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
James Hawkins
11 years, 3 months ago (2009-09-08 20:07:16 UTC) #1
tommi (sloooow) - chröme
here are some initial thoughts. patch only partially reviewed. http://codereview.chromium.org/200045/diff/1016/26 File base/scoped_bstr_win.cc (right): http://codereview.chromium.org/200045/diff/1016/26#newcode14 Line ...
11 years, 3 months ago (2009-09-08 21:15:32 UTC) #2
James Hawkins
http://codereview.chromium.org/200045/diff/1016/26 File base/scoped_bstr_win.cc (right): http://codereview.chromium.org/200045/diff/1016/26#newcode14 Line 14: ScopedBstr::ScopedBstr(const char* non_bstr) { On 2009/09/08 21:15:32, tommi ...
11 years, 3 months ago (2009-09-08 22:15:17 UTC) #3
tommi1
On Tue, Sep 8, 2009 at 6:15 PM, <jhawkins@chromium.org> wrote: > > http://codereview.chromium.org/200045/diff/1016/26 > File ...
11 years, 3 months ago (2009-09-09 05:51:11 UTC) #4
James Hawkins
11 years, 3 months ago (2009-09-09 21:46:32 UTC) #5
James Hawkins
Oops, don't waste your time reviewing yet; there are more changes I need to make.
11 years, 3 months ago (2009-09-09 21:48:13 UTC) #6
James Hawkins
Patch Set 6 is ready for review. I changed the CComBSTR(...).Release() to SysAllocString().
11 years, 3 months ago (2009-09-09 22:00:01 UTC) #7
tommi (sloooow) - chröme
lgtm. http://codereview.chromium.org/200045/diff/5036/5049 File chrome/browser/history/history_publisher_win.cc (right): http://codereview.chromium.org/200045/diff/5036/5049#newcode120 Line 120: ScopedVariant(var_time, VT_DATE), I know this isn't your ...
11 years, 3 months ago (2009-09-10 00:38:52 UTC) #8
James Hawkins
On 2009/09/10 00:38:52, tommi wrote: > lgtm. > > http://codereview.chromium.org/200045/diff/5036/5049 > File chrome/browser/history/history_publisher_win.cc (right): > ...
11 years, 3 months ago (2009-09-10 18:08:27 UTC) #9
tommi (sloooow) - chröme
lgtm http://codereview.chromium.org/200045/diff/6043/5063 File chrome/browser/history/history_publisher_win.cc (right): http://codereview.chromium.org/200045/diff/6043/5063#newcode118 Line 118: ScopedVariant time(var_time, VT_DATE); one more absolute nit... ...
11 years, 3 months ago (2009-09-10 20:22:41 UTC) #10
tommi (sloooow) - chröme
11 years, 3 months ago (2009-09-10 20:25:35 UTC) #11
hey james - I see you've already committed the patch.. nevermind the last
bit then (unless you need to touch that file again)

On Thu, Sep 10, 2009 at 4:22 PM, <tommi@chromium.org> wrote:

> lgtm
>
>
> http://codereview.chromium.org/200045/diff/6043/5063
> File chrome/browser/history/history_publisher_win.cc (right):
>
> http://codereview.chromium.org/200045/diff/6043/5063#newcode118
> Line 118: ScopedVariant time(var_time, VT_DATE);
> one more absolute nit...
> you might want to surround this entire block and the one in
> DeleteUserHistoryBetween() with an
>
> if (indexers_.size()) {
>  ...
> }
>
> that way we're close to zero cycles for the most common case :)
>
> thanks again for doing this.
>
>
> http://codereview.chromium.org/200045
>

Powered by Google App Engine
This is Rietveld 408576698