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