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

Side by Side Diff: gin/v8_isolate_memory_dump_provider.cc

Issue 1541743002: Switch to standard integer types in gin/. (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
« no previous file with comments | « gin/v8_isolate_memory_dump_provider.h ('k') | gin/wrappable.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 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 "gin/v8_isolate_memory_dump_provider.h" 5 #include "gin/v8_isolate_memory_dump_provider.h"
6 6
7 #include <stddef.h>
8
7 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
8 #include "base/thread_task_runner_handle.h" 10 #include "base/thread_task_runner_handle.h"
9 #include "base/trace_event/memory_dump_manager.h" 11 #include "base/trace_event/memory_dump_manager.h"
10 #include "base/trace_event/process_memory_dump.h" 12 #include "base/trace_event/process_memory_dump.h"
11 #include "gin/public/isolate_holder.h" 13 #include "gin/public/isolate_holder.h"
12 #include "v8/include/v8.h" 14 #include "v8/include/v8.h"
13 15
14 namespace gin { 16 namespace gin {
15 17
16 V8IsolateMemoryDumpProvider::V8IsolateMemoryDumpProvider( 18 V8IsolateMemoryDumpProvider::V8IsolateMemoryDumpProvider(
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 } 161 }
160 162
161 if (did_dump_object_stats) { 163 if (did_dump_object_stats) {
162 process_memory_dump->AddOwnershipEdge( 164 process_memory_dump->AddOwnershipEdge(
163 process_memory_dump->CreateAllocatorDump(object_name_prefix)->guid(), 165 process_memory_dump->CreateAllocatorDump(object_name_prefix)->guid(),
164 process_memory_dump->CreateAllocatorDump(space_name_prefix)->guid()); 166 process_memory_dump->CreateAllocatorDump(space_name_prefix)->guid());
165 } 167 }
166 } 168 }
167 169
168 } // namespace gin 170 } // namespace gin
OLDNEW
« no previous file with comments | « gin/v8_isolate_memory_dump_provider.h ('k') | gin/wrappable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698