Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: content/child/child_thread_impl.h

Issue 1488853002: Add multiplexing of message pipes in the new EDK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tsepez review comments Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 void OnGetChildProfilerData(int sequence_number, int current_profiling_phase); 228 void OnGetChildProfilerData(int sequence_number, int current_profiling_phase);
229 void OnProfilingPhaseCompleted(int profiling_phase); 229 void OnProfilingPhaseCompleted(int profiling_phase);
230 void OnBindExternalMojoShellHandle(const IPC::PlatformFileForTransit& file); 230 void OnBindExternalMojoShellHandle(const IPC::PlatformFileForTransit& file);
231 void OnSetMojoParentPipeHandle(const IPC::PlatformFileForTransit& file); 231 void OnSetMojoParentPipeHandle(const IPC::PlatformFileForTransit& file);
232 #ifdef IPC_MESSAGE_LOG_ENABLED 232 #ifdef IPC_MESSAGE_LOG_ENABLED
233 void OnSetIPCLoggingEnabled(bool enable); 233 void OnSetIPCLoggingEnabled(bool enable);
234 #endif 234 #endif
235 235
236 void EnsureConnected(); 236 void EnsureConnected();
237 237
238 scoped_ptr<IPC::ScopedIPCSupport> mojo_ipc_support_;
238 scoped_ptr<MojoApplication> mojo_application_; 239 scoped_ptr<MojoApplication> mojo_application_;
239 240
240 std::string channel_name_; 241 std::string channel_name_;
241 scoped_ptr<IPC::AttachmentBrokerUnprivileged> attachment_broker_; 242 scoped_ptr<IPC::AttachmentBrokerUnprivileged> attachment_broker_;
242 scoped_ptr<IPC::SyncChannel> channel_; 243 scoped_ptr<IPC::SyncChannel> channel_;
243 244
244 // Allows threads other than the main thread to send sync messages. 245 // Allows threads other than the main thread to send sync messages.
245 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; 246 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_;
246 247
247 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 248 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 325
325 private: 326 private:
326 struct Options options_; 327 struct Options options_;
327 328
328 DISALLOW_COPY_AND_ASSIGN(Builder); 329 DISALLOW_COPY_AND_ASSIGN(Builder);
329 }; 330 };
330 331
331 } // namespace content 332 } // namespace content
332 333
333 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ 334 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698