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

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

Issue 2157143002: Move interface registration to OnConnect in RPH (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 months 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 22 matching lines...) Expand all
33 class SyncChannel; 33 class SyncChannel;
34 class SyncMessageFilter; 34 class SyncMessageFilter;
35 } // namespace IPC 35 } // namespace IPC
36 36
37 namespace mojo { 37 namespace mojo {
38 namespace edk { 38 namespace edk {
39 class ScopedIPCSupport; 39 class ScopedIPCSupport;
40 } // namespace edk 40 } // namespace edk
41 } // namespace mojo 41 } // namespace mojo
42 42
43 namespace shell {
44 class Connection;
45 }
46
43 namespace blink { 47 namespace blink {
44 class WebFrame; 48 class WebFrame;
45 } // namespace blink 49 } // namespace blink
46 50
47 namespace content { 51 namespace content {
48 class ChildMessageFilter; 52 class ChildMessageFilter;
49 class ChildDiscardableSharedMemoryManager; 53 class ChildDiscardableSharedMemoryManager;
50 class ChildGpuMemoryBufferManager; 54 class ChildGpuMemoryBufferManager;
51 class ChildHistogramMessageFilter; 55 class ChildHistogramMessageFilter;
52 class ChildResourceMessageFilter; 56 class ChildResourceMessageFilter;
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 #ifdef IPC_MESSAGE_LOG_ENABLED 252 #ifdef IPC_MESSAGE_LOG_ENABLED
249 void OnSetIPCLoggingEnabled(bool enable); 253 void OnSetIPCLoggingEnabled(bool enable);
250 #endif 254 #endif
251 255
252 void EnsureConnected(); 256 void EnsureConnected();
253 257
254 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_; 258 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_;
255 std::unique_ptr<shell::InterfaceRegistry> interface_registry_; 259 std::unique_ptr<shell::InterfaceRegistry> interface_registry_;
256 std::unique_ptr<shell::InterfaceProvider> remote_interfaces_; 260 std::unique_ptr<shell::InterfaceProvider> remote_interfaces_;
257 std::unique_ptr<MojoShellConnection> mojo_shell_connection_; 261 std::unique_ptr<MojoShellConnection> mojo_shell_connection_;
262 std::unique_ptr<shell::Connection> browser_connection_;
258 263
259 std::string channel_name_; 264 std::string channel_name_;
260 std::unique_ptr<IPC::SyncChannel> channel_; 265 std::unique_ptr<IPC::SyncChannel> channel_;
261 266
262 // Allows threads other than the main thread to send sync messages. 267 // Allows threads other than the main thread to send sync messages.
263 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; 268 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_;
264 269
265 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 270 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
266 271
267 // Implements message routing functionality to the consumers of 272 // Implements message routing functionality to the consumers of
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 353
349 private: 354 private:
350 struct Options options_; 355 struct Options options_;
351 356
352 DISALLOW_COPY_AND_ASSIGN(Builder); 357 DISALLOW_COPY_AND_ASSIGN(Builder);
353 }; 358 };
354 359
355 } // namespace content 360 } // namespace content
356 361
357 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ 362 #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