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

Side by Side Diff: snapshot/mac/mach_o_image_reader_test.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 | « snapshot/mac/mach_o_image_reader.cc ('k') | util/misc/implicit_cast.h » ('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 14 matching lines...) Expand all
25 #include <stdint.h> 25 #include <stdint.h>
26 26
27 #include "base/strings/stringprintf.h" 27 #include "base/strings/stringprintf.h"
28 #include "build/build_config.h" 28 #include "build/build_config.h"
29 #include "client/crashpad_info.h" 29 #include "client/crashpad_info.h"
30 #include "gtest/gtest.h" 30 #include "gtest/gtest.h"
31 #include "snapshot/mac/mach_o_image_segment_reader.h" 31 #include "snapshot/mac/mach_o_image_segment_reader.h"
32 #include "snapshot/mac/process_reader.h" 32 #include "snapshot/mac/process_reader.h"
33 #include "snapshot/mac/process_types.h" 33 #include "snapshot/mac/process_types.h"
34 #include "test/mac/dyld.h" 34 #include "test/mac/dyld.h"
35 #include "util/misc/implicit_cast.h"
35 #include "util/misc/uuid.h" 36 #include "util/misc/uuid.h"
36 37
37 // This file is responsible for testing MachOImageReader, 38 // This file is responsible for testing MachOImageReader,
38 // MachOImageSegmentReader, and MachOImageSymbolTableReader. 39 // MachOImageSegmentReader, and MachOImageSymbolTableReader.
39 40
40 namespace crashpad { 41 namespace crashpad {
41 namespace test { 42 namespace test {
42 namespace { 43 namespace {
43 44
44 // Native types and constants, in cases where the 32-bit and 64-bit versions 45 // Native types and constants, in cases where the 32-bit and 64-bit versions
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 image_reader.UUID(&actual_uuid); 636 image_reader.UUID(&actual_uuid);
636 EXPECT_EQ(expected_uuid, actual_uuid); 637 EXPECT_EQ(expected_uuid, actual_uuid);
637 } 638 }
638 } 639 }
639 #endif 640 #endif
640 } 641 }
641 642
642 } // namespace 643 } // namespace
643 } // namespace test 644 } // namespace test
644 } // namespace crashpad 645 } // namespace crashpad
OLDNEW
« no previous file with comments | « snapshot/mac/mach_o_image_reader.cc ('k') | util/misc/implicit_cast.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698