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

Issue 1344683002: Include implicit_cast.h at all users of it. (Closed)

Created:
5 years, 3 months ago by danakj
Modified:
5 years, 3 months ago
Reviewers:
Mark Mentovai, scottmg
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

Include implicit_cast.h at all users of it. The implicit_cast in base will be no more, make sure we have a reference to the crashpad version at all callsites. BUG=529769, 472900, crashpad:51 R=mark@chromium.org, scottmg@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/0b022d72a2a4f9b89fcd4ab6aeabc92efa93a0c2

Patch Set 1 #

Total comments: 2

Patch Set 2 : implicitcast2: . #

Patch Set 3 : implicitcast2: . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -0 lines) Patch
M snapshot/mac/process_types_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M test/mac/mach_multiprocess.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/file/file_writer.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/file/string_file.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/file/string_file_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/mac/launchd.mm View 1 chunk +1 line, -0 lines 0 comments Download
M util/mach/child_port_handshake.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/mach/child_port_server_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/mach/exc_client_variants_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/mach/exc_server_variants_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/mach/mach_message.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/mach/mach_message_server_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/mach/mach_message_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/mach/notify_server_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/mach/symbolic_constants_mach.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/mach/symbolic_constants_mach_test.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M util/net/http_body.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/net/http_body_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/net/http_transport_mac.mm View 1 chunk +1 line, -0 lines 0 comments Download
M util/numeric/checked_range.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M util/numeric/in_range_cast_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/posix/close_multiple.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/posix/process_info_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M util/posix/symbolic_constants_posix.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (1 generated)
danakj
I missed a lot of callsites, woops. PTAL
5 years, 3 months ago (2015-09-14 21:37:17 UTC) #2
scottmg
Oops, sorry. Your previous CL built fine for me, but I guess that's because I ...
5 years, 3 months ago (2015-09-14 21:40:26 UTC) #3
scottmg
https://codereview.chromium.org/1344683002/diff/1/util/numeric/checked_range.h File util/numeric/checked_range.h (right): https://codereview.chromium.org/1344683002/diff/1/util/numeric/checked_range.h#newcode22 util/numeric/checked_range.h:22: #include "util/misc/implicit_cast.h" sorting
5 years, 3 months ago (2015-09-14 21:41:54 UTC) #4
danakj
https://codereview.chromium.org/1344683002/diff/1/util/numeric/checked_range.h File util/numeric/checked_range.h (right): https://codereview.chromium.org/1344683002/diff/1/util/numeric/checked_range.h#newcode22 util/numeric/checked_range.h:22: #include "util/misc/implicit_cast.h" On 2015/09/14 21:41:54, scottmg wrote: > sorting ...
5 years, 3 months ago (2015-09-14 21:42:24 UTC) #5
Mark Mentovai
LGTM. I hope you were able to do this at least semi-automatically.
5 years, 3 months ago (2015-09-14 21:44:03 UTC) #6
scottmg
Still a few more it looks like: https://gist.github.com/sgraham/96f003ec4cb0f4479658
5 years, 3 months ago (2015-09-14 21:45:46 UTC) #7
scottmg
On 2015/09/14 21:45:46, scottmg wrote: > Still a few more it looks like: > https://gist.github.com/sgraham/96f003ec4cb0f4479658 ...
5 years, 3 months ago (2015-09-14 21:47:14 UTC) #8
danakj
Added util/mach/symbolic_constants_mach_test.cc
5 years, 3 months ago (2015-09-14 21:47:29 UTC) #9
danakj
On 2015/09/14 21:45:46, scottmg wrote: > Still a few more it looks like: > https://gist.github.com/sgraham/96f003ec4cb0f4479658 ...
5 years, 3 months ago (2015-09-14 21:47:43 UTC) #10
scottmg
On 2015/09/14 21:47:43, danakj wrote: > On 2015/09/14 21:45:46, scottmg wrote: > > Still a ...
5 years, 3 months ago (2015-09-14 21:50:47 UTC) #11
scottmg
Committed patchset #3 (id:40001) manually as 0b022d72a2a4f9b89fcd4ab6aeabc92efa93a0c2 (presubmit successful).
5 years, 3 months ago (2015-09-14 21:51:10 UTC) #12
danakj
Hm. But not with it. ../../util/mac/launchd.mm:69:13: error: call to 'implicit_cast' is ambiguous implicit_cast<CFPropertyListRef>(element_ns); In the ...
5 years, 3 months ago (2015-09-14 21:54:10 UTC) #13
danakj
On 2015/09/14 21:54:10, danakj wrote: > Hm. But not with it. > > ../../util/mac/launchd.mm:69:13: error: ...
5 years, 3 months ago (2015-09-14 21:56:29 UTC) #14
danakj
On 2015/09/14 21:56:29, danakj wrote: > On 2015/09/14 21:54:10, danakj wrote: > > Hm. But ...
5 years, 3 months ago (2015-09-14 21:57:56 UTC) #15
danakj
5 years, 3 months ago (2015-09-14 21:59:49 UTC) #16
Message was sent while issue was closed.
On 2015/09/14 21:57:56, danakj wrote:
> On 2015/09/14 21:56:29, danakj wrote:
> > On 2015/09/14 21:54:10, danakj wrote:
> > > Hm. But not with it.
> > > 
> > > ../../util/mac/launchd.mm:69:13: error: call to 'implicit_cast' is
ambiguous
> > >             implicit_cast<CFPropertyListRef>(element_ns);
> > > 
> > > In the .mm file it doesn't just use the crashpad namespace?
> > 
> > Fix? https://codereview.chromium.org/1336413003/
> 
> Oh, or https://codereview.chromium.org/1347483002/ should resolve this too.

Though, that leaves us unable to roll either way.. we need to be able to build
with to roll this into chromium in order to remove it and build without.

Powered by Google App Engine
This is Rietveld 408576698