OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |