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

Side by Side Diff: content/child/web_memory_dump_provider_adapter.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
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_memory_dump_provider_adapter.h" 5 #include "content/child/web_memory_dump_provider_adapter.h"
6 6
7 #include <stddef.h>
8
7 #include "base/containers/hash_tables.h" 9 #include "base/containers/hash_tables.h"
8 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
9 #include "base/synchronization/lock.h" 11 #include "base/synchronization/lock.h"
10 #include "base/trace_event/heap_profiler_allocation_context.h" 12 #include "base/trace_event/heap_profiler_allocation_context.h"
11 #include "base/trace_event/heap_profiler_allocation_context_tracker.h" 13 #include "base/trace_event/heap_profiler_allocation_context_tracker.h"
12 #include "base/trace_event/heap_profiler_allocation_register.h" 14 #include "base/trace_event/heap_profiler_allocation_register.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/process_memory_dump.h" 16 #include "base/trace_event/process_memory_dump.h"
15 #include "base/trace_event/trace_event_argument.h" 17 #include "base/trace_event/trace_event_argument.h"
16 #include "base/trace_event/trace_event_memory_overhead.h" 18 #include "base/trace_event/trace_event_memory_overhead.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 web_memory_dump_provider_->onHeapProfilingEnabled(ReportAllocation, 122 web_memory_dump_provider_->onHeapProfilingEnabled(ReportAllocation,
121 ReportFree); 123 ReportFree);
122 } else { 124 } else {
123 web_memory_dump_provider_->onHeapProfilingEnabled(nullptr, nullptr); 125 web_memory_dump_provider_->onHeapProfilingEnabled(nullptr, nullptr);
124 } 126 }
125 127
126 g_heap_profiling_enabled = enabled; 128 g_heap_profiling_enabled = enabled;
127 } 129 }
128 130
129 } // namespace content 131 } // namespace content
OLDNEW
« no previous file with comments | « content/child/web_memory_allocator_dump_impl.cc ('k') | content/child/web_process_memory_dump_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698