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