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

Unified Diff: content/public/common/mojo_shell_connection.h

Issue 2183703005: Renderers should obtain browser InterfaceProvider by connecting to browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/mojo_shell_connection.h
diff --git a/content/public/common/mojo_shell_connection.h b/content/public/common/mojo_shell_connection.h
index 577f1282b0cefa8ca55fa71ca2c79b699b6fbf11..3b7453149b505641cd5dac49c88fb342a3e8d2de 100644
--- a/content/public/common/mojo_shell_connection.h
+++ b/content/public/common/mojo_shell_connection.h
@@ -114,6 +114,11 @@ class CONTENT_EXPORT MojoShellConnection {
virtual void AddConnectionFilter(
std::unique_ptr<ConnectionFilter> filter) = 0;
+ // Returns ownership of |filter|, added via AddConnectionFilter(), to the
+ // caller.
+ virtual std::unique_ptr<ConnectionFilter> RemoveConnectionFilter(
+ ConnectionFilter* filter) = 0;
+
// Adds an embedded service to this connection's ServiceFactory.
// |info| provides details on how to construct new instances of the
// service when an incoming connection is made to |name|.
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698