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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 void OnSetProfilerStatus(tracked_objects::ThreadData::Status status); | 231 void OnSetProfilerStatus(tracked_objects::ThreadData::Status status); |
232 void OnGetChildProfilerData(int sequence_number, int current_profiling_phase); | 232 void OnGetChildProfilerData(int sequence_number, int current_profiling_phase); |
233 void OnProfilingPhaseCompleted(int profiling_phase); | 233 void OnProfilingPhaseCompleted(int profiling_phase); |
234 void OnBindExternalMojoShellHandle(const IPC::PlatformFileForTransit& file); | 234 void OnBindExternalMojoShellHandle(const IPC::PlatformFileForTransit& file); |
235 #ifdef IPC_MESSAGE_LOG_ENABLED | 235 #ifdef IPC_MESSAGE_LOG_ENABLED |
236 void OnSetIPCLoggingEnabled(bool enable); | 236 void OnSetIPCLoggingEnabled(bool enable); |
237 #endif | 237 #endif |
238 #if defined(OS_WIN) | 238 #if defined(OS_WIN) |
239 void OnSetMojoParentPipeHandle(const IPC::PlatformFileForTransit& file); | 239 void OnSetMojoParentPipeHandle(const IPC::PlatformFileForTransit& file); |
240 #endif | 240 #endif |
241 #if defined(USE_TCMALLOC) | |
242 void OnGetTcmallocStats(); | |
243 #endif | |
244 | 241 |
245 void EnsureConnected(); | 242 void EnsureConnected(); |
246 | 243 |
247 scoped_ptr<MojoApplication> mojo_application_; | 244 scoped_ptr<MojoApplication> mojo_application_; |
248 | 245 |
249 std::string channel_name_; | 246 std::string channel_name_; |
250 scoped_ptr<IPC::AttachmentBrokerUnprivileged> attachment_broker_; | 247 scoped_ptr<IPC::AttachmentBrokerUnprivileged> attachment_broker_; |
251 scoped_ptr<IPC::SyncChannel> channel_; | 248 scoped_ptr<IPC::SyncChannel> channel_; |
252 | 249 |
253 // Allows threads other than the main thread to send sync messages. | 250 // Allows threads other than the main thread to send sync messages. |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 | 334 |
338 private: | 335 private: |
339 struct Options options_; | 336 struct Options options_; |
340 | 337 |
341 DISALLOW_COPY_AND_ASSIGN(Builder); | 338 DISALLOW_COPY_AND_ASSIGN(Builder); |
342 }; | 339 }; |
343 | 340 |
344 } // namespace content | 341 } // namespace content |
345 | 342 |
346 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ | 343 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ |
OLD | NEW |