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