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

Side by Side Diff: base/trace_event/heap_profiler_heap_dump_writer_unittest.cc

Issue 1546033002: Switch to standard integer types in base/trace_event/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h>
6
5 #include <set> 7 #include <set>
6 #include <string> 8 #include <string>
7 9
8 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
12 #include "base/trace_event/heap_profiler_allocation_context.h" 14 #include "base/trace_event/heap_profiler_allocation_context.h"
13 #include "base/trace_event/heap_profiler_heap_dump_writer.h" 15 #include "base/trace_event/heap_profiler_heap_dump_writer.h"
14 #include "base/trace_event/heap_profiler_stack_frame_deduplicator.h" 16 #include "base/trace_event/heap_profiler_stack_frame_deduplicator.h"
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 AssertSizeEq(dump, -1, type_id_bool, 48); 227 AssertSizeEq(dump, -1, type_id_bool, 48);
226 AssertSizeEq(dump, -1, type_id_string, 19); 228 AssertSizeEq(dump, -1, type_id_string, 19);
227 } 229 }
228 230
229 // TODO(ruuda): Verify that cumulative sizes are computed correctly. 231 // TODO(ruuda): Verify that cumulative sizes are computed correctly.
230 // TODO(ruuda): Verify that insignificant values are not dumped. 232 // TODO(ruuda): Verify that insignificant values are not dumped.
231 233
232 } // namespace internal 234 } // namespace internal
233 } // namespace trace_event 235 } // namespace trace_event
234 } // namespace base 236 } // namespace base
OLDNEW
« no previous file with comments | « base/trace_event/heap_profiler_heap_dump_writer.cc ('k') | base/trace_event/heap_profiler_stack_frame_deduplicator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698