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_IMPL_H_ | 5 #ifndef CONTENT_CHILD_CHILD_THREAD_IMPL_H_ |
6 #define CONTENT_CHILD_CHILD_THREAD_IMPL_H_ | 6 #define CONTENT_CHILD_CHILD_THREAD_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 211 |
212 void Init(const Options& options); | 212 void Init(const Options& options); |
213 | 213 |
214 // We create the channel first without connecting it so we can add filters | 214 // We create the channel first without connecting it so we can add filters |
215 // prior to any messages being received, then connect it afterwards. | 215 // prior to any messages being received, then connect it afterwards. |
216 void ConnectChannel(bool use_mojo_channel); | 216 void ConnectChannel(bool use_mojo_channel); |
217 | 217 |
218 // IPC message handlers. | 218 // IPC message handlers. |
219 void OnShutdown(); | 219 void OnShutdown(); |
220 void OnSetProfilerStatus(tracked_objects::ThreadData::Status status); | 220 void OnSetProfilerStatus(tracked_objects::ThreadData::Status status); |
221 void OnGetChildProfilerData(int sequence_number); | 221 void OnGetChildProfilerData(int sequence_number, int current_profiling_phase); |
| 222 void OnProfilingPhaseCompletion(int profiling_phase); |
222 void OnDumpHandles(); | 223 void OnDumpHandles(); |
223 void OnProcessBackgrounded(bool background); | 224 void OnProcessBackgrounded(bool background); |
224 #ifdef IPC_MESSAGE_LOG_ENABLED | 225 #ifdef IPC_MESSAGE_LOG_ENABLED |
225 void OnSetIPCLoggingEnabled(bool enable); | 226 void OnSetIPCLoggingEnabled(bool enable); |
226 #endif | 227 #endif |
227 #if defined(USE_TCMALLOC) | 228 #if defined(USE_TCMALLOC) |
228 void OnGetTcmallocStats(); | 229 void OnGetTcmallocStats(); |
229 #endif | 230 #endif |
230 | 231 |
231 void EnsureConnected(); | 232 void EnsureConnected(); |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 | 333 |
333 private: | 334 private: |
334 struct Options options_; | 335 struct Options options_; |
335 | 336 |
336 DISALLOW_COPY_AND_ASSIGN(Builder); | 337 DISALLOW_COPY_AND_ASSIGN(Builder); |
337 }; | 338 }; |
338 | 339 |
339 } // namespace content | 340 } // namespace content |
340 | 341 |
341 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ | 342 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ |
OLD | NEW |