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

Side by Side Diff: client/simulate_crash_mac.cc

Issue 1335353002: Replace implicit_cast usage with static_cast. (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: implicitcast: drops Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « client/simple_string_dictionary.h ('k') | client/simulate_crash_mac_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Crashpad Authors. All rights reserved. 1 // Copyright 2014 The Crashpad Authors. All rights reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 10 matching lines...) Expand all
21 #include "base/basictypes.h" 21 #include "base/basictypes.h"
22 #include "base/logging.h" 22 #include "base/logging.h"
23 #include "base/mac/mach_logging.h" 23 #include "base/mac/mach_logging.h"
24 #include "base/mac/scoped_mach_port.h" 24 #include "base/mac/scoped_mach_port.h"
25 #include "base/strings/stringprintf.h" 25 #include "base/strings/stringprintf.h"
26 #include "build/build_config.h" 26 #include "build/build_config.h"
27 #include "util/mach/exc_client_variants.h" 27 #include "util/mach/exc_client_variants.h"
28 #include "util/mach/exception_behaviors.h" 28 #include "util/mach/exception_behaviors.h"
29 #include "util/mach/exception_ports.h" 29 #include "util/mach/exception_ports.h"
30 #include "util/mach/mach_extensions.h" 30 #include "util/mach/mach_extensions.h"
31 #include "util/misc/implicit_cast.h"
31 32
32 namespace crashpad { 33 namespace crashpad {
33 34
34 namespace { 35 namespace {
35 36
36 //! \brief Sends an exception message to an exception port in accordance with 37 //! \brief Sends an exception message to an exception port in accordance with
37 //! the behavior and thread state flavor it’s registered to receive. 38 //! the behavior and thread state flavor it’s registered to receive.
38 //! 39 //!
39 //! \param[in] thread, task, exception, code, code_count These parameters will 40 //! \param[in] thread, task, exception, code, code_count These parameters will
40 //! be passed to the exception handler as appropriate. 41 //! be passed to the exception handler as appropriate.
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 false); 233 false);
233 } 234 }
234 } 235 }
235 } 236 }
236 237
237 LOG_IF(WARNING, !success) 238 LOG_IF(WARNING, !success)
238 << "SimulateCrash did not find an appropriate exception handler"; 239 << "SimulateCrash did not find an appropriate exception handler";
239 } 240 }
240 241
241 } // namespace crashpad 242 } // namespace crashpad
OLDNEW
« no previous file with comments | « client/simple_string_dictionary.h ('k') | client/simulate_crash_mac_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698