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

Side by Side Diff: base/trace_event/heap_profiler_allocation_context.h

Issue 1494293005: [Tracing] Enable heap dumps with both type info and backtraces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sfdedup-iter
Patch Set: Rename _all_ occurrences 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 | « no previous file | base/trace_event/heap_profiler_heap_dump_writer.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 #ifndef BASE_TRACE_EVENT_HEAP_PROFILER_ALLOCATION_CONTEXT_H_ 5 #ifndef BASE_TRACE_EVENT_HEAP_PROFILER_ALLOCATION_CONTEXT_H_
6 #define BASE_TRACE_EVENT_HEAP_PROFILER_ALLOCATION_CONTEXT_H_ 6 #define BASE_TRACE_EVENT_HEAP_PROFILER_ALLOCATION_CONTEXT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/base_export.h" 10 #include "base/base_export.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 bool BASE_EXPORT operator==(const AllocationContext& lhs, 76 bool BASE_EXPORT operator==(const AllocationContext& lhs,
77 const AllocationContext& rhs); 77 const AllocationContext& rhs);
78 78
79 } // namespace trace_event 79 } // namespace trace_event
80 } // namespace base 80 } // namespace base
81 81
82 namespace BASE_HASH_NAMESPACE { 82 namespace BASE_HASH_NAMESPACE {
83 83
84 template <> 84 template <>
85 struct hash<base::trace_event::Backtrace> { 85 struct BASE_EXPORT hash<base::trace_event::Backtrace> {
86 size_t operator()(const base::trace_event::Backtrace& backtrace) const; 86 size_t operator()(const base::trace_event::Backtrace& backtrace) const;
87 }; 87 };
88 88
89 template <> 89 template <>
90 struct hash<base::trace_event::AllocationContext> { 90 struct BASE_EXPORT hash<base::trace_event::AllocationContext> {
91 size_t operator()(const base::trace_event::AllocationContext& context) const; 91 size_t operator()(const base::trace_event::AllocationContext& context) const;
92 }; 92 };
93 93
94 } // BASE_HASH_NAMESPACE 94 } // BASE_HASH_NAMESPACE
95 95
96 #endif // BASE_TRACE_EVENT_HEAP_PROFILER_ALLOCATION_CONTEXT_H_ 96 #endif // BASE_TRACE_EVENT_HEAP_PROFILER_ALLOCATION_CONTEXT_H_
OLDNEW
« no previous file with comments | « no previous file | base/trace_event/heap_profiler_heap_dump_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698