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

Side by Side Diff: content/child/child_thread.h

Issue 15418002: Record Chrome trace events in tcmalloc heap profiles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move to ChildThread Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_CHILD_CHILD_THREAD_H_ 5 #ifndef CONTENT_CHILD_CHILD_THREAD_H_
6 #define CONTENT_CHILD_CHILD_THREAD_H_ 6 #define CONTENT_CHILD_CHILD_THREAD_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 scoped_ptr<FileSystemDispatcher> file_system_dispatcher_; 179 scoped_ptr<FileSystemDispatcher> file_system_dispatcher_;
180 180
181 scoped_ptr<QuotaDispatcher> quota_dispatcher_; 181 scoped_ptr<QuotaDispatcher> quota_dispatcher_;
182 182
183 scoped_refptr<ChildHistogramMessageFilter> histogram_message_filter_; 183 scoped_refptr<ChildHistogramMessageFilter> histogram_message_filter_;
184 184
185 scoped_refptr<ChildResourceMessageFilter> resource_message_filter_; 185 scoped_refptr<ChildResourceMessageFilter> resource_message_filter_;
186 186
187 base::WeakPtrFactory<ChildThread> channel_connected_factory_; 187 base::WeakPtrFactory<ChildThread> channel_connected_factory_;
188 188
189 // Observes the trace event system. When tracing is enabled, optionally
190 // starts profiling the tcmalloc heap.
191 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_;
192
189 DISALLOW_COPY_AND_ASSIGN(ChildThread); 193 DISALLOW_COPY_AND_ASSIGN(ChildThread);
190 }; 194 };
191 195
192 } // namespace content 196 } // namespace content
193 197
194 #endif // CONTENT_CHILD_CHILD_THREAD_H_ 198 #endif // CONTENT_CHILD_CHILD_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698