| 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 | 216 |
| 217 void Init(const Options& options); | 217 void Init(const Options& options); |
| 218 | 218 |
| 219 // We create the channel first without connecting it so we can add filters | 219 // We create the channel first without connecting it so we can add filters |
| 220 // prior to any messages being received, then connect it afterwards. | 220 // prior to any messages being received, then connect it afterwards. |
| 221 void ConnectChannel(bool use_mojo_channel); | 221 void ConnectChannel(bool use_mojo_channel); |
| 222 | 222 |
| 223 // IPC message handlers. | 223 // IPC message handlers. |
| 224 void OnShutdown(); | 224 void OnShutdown(); |
| 225 void OnSetProfilerStatus(tracked_objects::ThreadData::Status status); | 225 void OnSetProfilerStatus(tracked_objects::ThreadData::Status status); |
| 226 void OnGetChildProfilerData(int sequence_number); | 226 void OnGetChildProfilerData(int sequence_number, int current_profiling_phase); |
| 227 void OnProfilingPhaseCompleted(int profiling_phase); |
| 227 void OnDumpHandles(); | 228 void OnDumpHandles(); |
| 228 void OnProcessBackgrounded(bool background); | 229 void OnProcessBackgrounded(bool background); |
| 229 #ifdef IPC_MESSAGE_LOG_ENABLED | 230 #ifdef IPC_MESSAGE_LOG_ENABLED |
| 230 void OnSetIPCLoggingEnabled(bool enable); | 231 void OnSetIPCLoggingEnabled(bool enable); |
| 231 #endif | 232 #endif |
| 232 #if defined(USE_TCMALLOC) | 233 #if defined(USE_TCMALLOC) |
| 233 void OnGetTcmallocStats(); | 234 void OnGetTcmallocStats(); |
| 234 #endif | 235 #endif |
| 235 | 236 |
| 236 void EnsureConnected(); | 237 void EnsureConnected(); |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 | 338 |
| 338 private: | 339 private: |
| 339 struct Options options_; | 340 struct Options options_; |
| 340 | 341 |
| 341 DISALLOW_COPY_AND_ASSIGN(Builder); | 342 DISALLOW_COPY_AND_ASSIGN(Builder); |
| 342 }; | 343 }; |
| 343 | 344 |
| 344 } // namespace content | 345 } // namespace content |
| 345 | 346 |
| 346 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ | 347 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ |
| OLD | NEW |