| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 IPC::Sender* const sender_; | 187 IPC::Sender* const sender_; |
| 188 }; | 188 }; |
| 189 | 189 |
| 190 void Init(); | 190 void Init(); |
| 191 | 191 |
| 192 // IPC message handlers. | 192 // IPC message handlers. |
| 193 void OnShutdown(); | 193 void OnShutdown(); |
| 194 void OnSetProfilerStatus(tracked_objects::ThreadData::Status status); | 194 void OnSetProfilerStatus(tracked_objects::ThreadData::Status status); |
| 195 void OnGetChildProfilerData(int sequence_number); | 195 void OnGetChildProfilerData(int sequence_number); |
| 196 void OnDumpHandles(); | 196 void OnDumpHandles(); |
| 197 #if defined(OS_WIN) |
| 198 void OnProcessBackgrounded(bool background); |
| 199 #endif |
| 197 #ifdef IPC_MESSAGE_LOG_ENABLED | 200 #ifdef IPC_MESSAGE_LOG_ENABLED |
| 198 void OnSetIPCLoggingEnabled(bool enable); | 201 void OnSetIPCLoggingEnabled(bool enable); |
| 199 #endif | 202 #endif |
| 200 #if defined(USE_TCMALLOC) | 203 #if defined(USE_TCMALLOC) |
| 201 void OnGetTcmallocStats(); | 204 void OnGetTcmallocStats(); |
| 202 #endif | 205 #endif |
| 203 | 206 |
| 204 void EnsureConnected(); | 207 void EnsureConnected(); |
| 205 | 208 |
| 206 scoped_ptr<MojoApplication> mojo_application_; | 209 scoped_ptr<MojoApplication> mojo_application_; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 scoped_ptr<base::PowerMonitor> power_monitor_; | 258 scoped_ptr<base::PowerMonitor> power_monitor_; |
| 256 | 259 |
| 257 bool in_browser_process_; | 260 bool in_browser_process_; |
| 258 | 261 |
| 259 DISALLOW_COPY_AND_ASSIGN(ChildThread); | 262 DISALLOW_COPY_AND_ASSIGN(ChildThread); |
| 260 }; | 263 }; |
| 261 | 264 |
| 262 } // namespace content | 265 } // namespace content |
| 263 | 266 |
| 264 #endif // CONTENT_CHILD_CHILD_THREAD_H_ | 267 #endif // CONTENT_CHILD_CHILD_THREAD_H_ |
| OLD | NEW |