|
|
Move the windows-specific scoped_* stuff from base to base/win and in the base::win namespace.
This keeps old headers that forward to the new versions and have using declarations that allow the existing code to compile. I fixed all the callers in base to use the new ones, and also the other files I happened to touch.
This splits out the stuff from scoped_handle into a few separate files. I just deleted ScopedFindFile since it was only used in one place and it wasn't even really helping there.
I removed StackBstr which was a #define and used the "regular" ScopedBstr in the 7 places that used it. This is an optimization to avoid an extra allocation, but none of the callers are remotely performance critical.
TEST=it compiles
BUG=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=62843
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+240 lines, -2380 lines) |
Patch |
 |
M |
app/win_util.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
base/base.gyp
|
View
|
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
base/base.gypi
|
View
|
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
base/file_util_win.cc
|
View
|
|
12 chunks |
+28 lines, -28 lines |
0 comments
|
Download
|
 |
M |
base/process_util_win.cc
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
base/scoped_bstr_win.h
|
View
|
|
1 chunk |
+5 lines, -138 lines |
0 comments
|
Download
|
 |
D |
base/scoped_bstr_win.cc
|
View
|
|
1 chunk |
+0 lines, -66 lines |
0 comments
|
Download
|
 |
D |
base/scoped_bstr_win_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -93 lines |
0 comments
|
Download
|
 |
M |
base/scoped_comptr_win.h
|
View
|
|
1 chunk |
+5 lines, -155 lines |
0 comments
|
Download
|
 |
D |
base/scoped_comptr_win_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -107 lines |
0 comments
|
Download
|
 |
M |
base/scoped_handle_win.h
|
View
|
|
1 chunk |
+15 lines, -233 lines |
0 comments
|
Download
|
 |
M |
base/scoped_variant_win.h
|
View
|
|
1 chunk |
+4 lines, -156 lines |
0 comments
|
Download
|
 |
D |
base/scoped_variant_win.cc
|
View
|
|
1 chunk |
+0 lines, -270 lines |
0 comments
|
Download
|
 |
D |
base/scoped_variant_win_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -257 lines |
0 comments
|
Download
|
 |
A + |
base/win/scoped_bstr.h
|
View
|
|
5 chunks |
+28 lines, -73 lines |
0 comments
|
Download
|
 |
A + |
base/win/scoped_bstr.cc
|
View
|
|
2 chunks |
+14 lines, -9 lines |
0 comments
|
Download
|
 |
A + |
base/win/scoped_bstr_unittest.cc
|
View
|
|
2 chunks |
+6 lines, -22 lines |
0 comments
|
Download
|
 |
A + |
base/win/scoped_comptr.h
|
View
|
|
4 chunks |
+18 lines, -12 lines |
1 comment
|
Download
|
 |
A + |
base/win/scoped_comptr_unittest.cc
|
View
|
1
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
A + |
base/win/scoped_gdi_object.h
|
View
|
|
3 chunks |
+7 lines, -167 lines |
0 comments
|
Download
|
 |
A + |
base/win/scoped_handle.h
|
View
|
|
3 chunks |
+7 lines, -155 lines |
0 comments
|
Download
|
 |
A + |
base/win/scoped_hdc.h
|
View
|
|
2 chunks |
+7 lines, -190 lines |
0 comments
|
Download
|
 |
A + |
base/win/scoped_hglobal.h
|
View
|
|
2 chunks |
+8 lines, -193 lines |
0 comments
|
Download
|
 |
A + |
base/win/scoped_variant.h
|
View
|
|
2 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
base/win/scoped_variant.cc
|
View
|
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
A + |
base/win/scoped_variant_unittest.cc
|
View
|
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/installer/util/wmi.cc
|
View
|
|
5 chunks |
+18 lines, -17 lines |
1 comment
|
Download
|
 |
M |
chrome_frame/chrome_frame_activex.cc
|
View
|
|
10 chunks |
+17 lines, -15 lines |
0 comments
|
Download
|
 |
M |
net/disk_cache/cache_util_win.cc
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|