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

Side by Side Diff: content/child/web_process_memory_dump_impl.cc

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 | « content/child/web_process_memory_dump_impl.h ('k') | content/child/web_url_loader_impl.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 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 "content/child/web_process_memory_dump_impl.h" 5 #include "content/child/web_process_memory_dump_impl.h"
6 6
7 #include <stddef.h>
8
7 #include "base/memory/discardable_memory.h" 9 #include "base/memory/discardable_memory.h"
8 #include "base/trace_event/process_memory_dump.h" 10 #include "base/trace_event/process_memory_dump.h"
9 #include "content/child/web_memory_allocator_dump_impl.h" 11 #include "content/child/web_memory_allocator_dump_impl.h"
10 #include "skia/ext/skia_trace_memory_dump_impl.h" 12 #include "skia/ext/skia_trace_memory_dump_impl.h"
11 13
12 namespace content { 14 namespace content {
13 15
14 WebProcessMemoryDumpImpl::WebProcessMemoryDumpImpl() 16 WebProcessMemoryDumpImpl::WebProcessMemoryDumpImpl()
15 : owned_process_memory_dump_( 17 : owned_process_memory_dump_(
16 new base::trace_event::ProcessMemoryDump(nullptr)), 18 new base::trace_event::ProcessMemoryDump(nullptr)),
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 WebProcessMemoryDumpImpl::CreateDiscardableMemoryAllocatorDump( 156 WebProcessMemoryDumpImpl::CreateDiscardableMemoryAllocatorDump(
155 const std::string& name, 157 const std::string& name,
156 base::DiscardableMemory* discardable) { 158 base::DiscardableMemory* discardable) {
157 base::trace_event::MemoryAllocatorDump* dump = 159 base::trace_event::MemoryAllocatorDump* dump =
158 discardable->CreateMemoryAllocatorDump(name.c_str(), 160 discardable->CreateMemoryAllocatorDump(name.c_str(),
159 process_memory_dump_); 161 process_memory_dump_);
160 return createWebMemoryAllocatorDump(dump); 162 return createWebMemoryAllocatorDump(dump);
161 } 163 }
162 164
163 } // namespace content 165 } // namespace content
OLDNEW
« no previous file with comments | « content/child/web_process_memory_dump_impl.h ('k') | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698