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

Side by Side Diff: content/public/child/child_thread.h

Issue 2310563002: Adds routed interface support between RenderFrameHost and RenderFrame (Closed)
Patch Set: . Created 4 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PUBLIC_CHILD_CHILD_THREAD_H_ 5 #ifndef CONTENT_PUBLIC_CHILD_CHILD_THREAD_H_
6 #define CONTENT_PUBLIC_CHILD_CHILD_THREAD_H_ 6 #define CONTENT_PUBLIC_CHILD_CHILD_THREAD_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "content/public/common/associated_interfaces.mojom.h"
13 #include "ipc/ipc_sender.h" 14 #include "ipc/ipc_sender.h"
14 15
15 #if defined(OS_WIN) 16 #if defined(OS_WIN)
16 #include <windows.h> 17 #include <windows.h>
17 #endif 18 #endif
18 19
19 namespace base { 20 namespace base {
20 struct UserMetricsAction; 21 struct UserMetricsAction;
21 } 22 }
22 23
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // shell::Connector can be obtained). 72 // shell::Connector can be obtained).
72 virtual MojoShellConnection* GetMojoShellConnection() = 0; 73 virtual MojoShellConnection* GetMojoShellConnection() = 0;
73 74
74 // Returns the InterfaceRegistry that this process uses to expose interfaces 75 // Returns the InterfaceRegistry that this process uses to expose interfaces
75 // to the browser. 76 // to the browser.
76 virtual shell::InterfaceRegistry* GetInterfaceRegistry() = 0; 77 virtual shell::InterfaceRegistry* GetInterfaceRegistry() = 0;
77 78
78 // Returns the InterfaceProvider that this process can use to bind 79 // Returns the InterfaceProvider that this process can use to bind
79 // interfaces exposed to it by the browser. 80 // interfaces exposed to it by the browser.
80 virtual shell::InterfaceProvider* GetRemoteInterfaces() = 0; 81 virtual shell::InterfaceProvider* GetRemoteInterfaces() = 0;
82
83 // Returns a RemoteRouteProvider which exposes routed interfaces from the
84 // browser.
85 virtual mojom::RouteProvider* GetRemoteRouteProvider() = 0;
Sam McNally 2016/09/09 05:33:15 Does this need to be public?
Ken Rockot(use gerrit already) 2016/09/09 16:01:50 Nope, removed!
81 }; 86 };
82 87
83 } // namespace content 88 } // namespace content
84 89
85 #endif // CONTENT_PUBLIC_CHILD_CHILD_THREAD_H_ 90 #endif // CONTENT_PUBLIC_CHILD_CHILD_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698