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

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

Issue 1461243002: [OLD ATTEMPT, DO NOT REVIEW] mustash: Enable connections to mus from the Chrome renderer Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Ben's comments Created 5 years, 1 month 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/render_widget_host_view.h ('k') | content/renderer/BUILD.gn » ('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 af4cce1341484871827a2450e83114662ce8155e..e42e3c085124ebe7d0a3df2d1f063f6ebe2fb3ec 100644
--- a/content/public/common/mojo_shell_connection.h
+++ b/content/public/common/mojo_shell_connection.h
@@ -29,7 +29,6 @@ class CONTENT_EXPORT MojoShellConnection {
virtual bool ConfigureIncomingConnection(
mojo::ApplicationConnection* connection) = 0;
- protected:
virtual ~Listener() {}
};
@@ -47,6 +46,7 @@ class CONTENT_EXPORT MojoShellConnection {
// [De]Register an impl of Listener that will be consulted when the wrapped
// ApplicationImpl exposes services to inbound connections.
+ // Registered listeners are owned by this MojoShellConnection.
virtual void AddListener(Listener* listener) = 0;
virtual void RemoveListener(Listener* listener) = 0;
« no previous file with comments | « content/public/browser/render_widget_host_view.h ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698