Commit 7b366de8 authored by Oksana Zhuravlova's avatar Oksana Zhuravlova Committed by Commit Bot

[mojo] Mark renderer GetRemoteInterfaces/GetInterfaceProvider deprecated

Since all chromium clients in the renderer now use BrowserInterfaceBroker,
this change marks old methods returning InterfaceProvider* as deprecated.

Bug: 718652

Change-Id: Ie01d60d498e9118f7817ae9a44d2533a848b4b3d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2020677Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Oksana Zhuravlova <oksamyt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#735484}
parent 3b81d4ce
......@@ -187,6 +187,7 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener,
const std::string& interface_name,
mojo::ScopedMessagePipeHandle interface_pipe) = 0;
// DEPRECATED. Please use GetBrowserInterfaceBroker() instead.
// Returns the InterfaceProvider that this process can use to bind
// interfaces exposed to it by the application running in this frame.
virtual service_manager::InterfaceProvider* GetRemoteInterfaces() = 0;
......
......@@ -192,6 +192,7 @@ class BLINK_EXPORT WebLocalFrameClient {
// Returns a blame context for attributing work belonging to this frame.
virtual BlameContext* GetFrameBlameContext() { return nullptr; }
// DEPRECATED. Please use GetBrowserInterfaceBroker() instead.
// Returns an InterfaceProvider the frame can use to request interfaces from
// the browser. This method may not return nullptr.
virtual service_manager::InterfaceProvider* GetInterfaceProvider();
......
......@@ -282,6 +282,7 @@ class CORE_EXPORT ExecutionContext : public ContextLifecycleNotifier,
virtual CoreProbeSink* GetProbeSink() { return nullptr; }
// DEPRECATED. Please use GetBrowserInterfaceBroker() instead.
virtual service_manager::InterfaceProvider* GetInterfaceProvider() {
return nullptr;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment