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

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

Issue 1882423004: Move shell service to toplevel shell namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/public/test/test_mojo_app.h » ('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 a427b4c0d2e2214157680a293782050cbc6a3ba7..26f104c681ac2a558c2c950103de6cdaf20a49eb 100644
--- a/content/public/common/mojo_shell_connection.h
+++ b/content/public/common/mojo_shell_connection.h
@@ -9,7 +9,7 @@
#include "content/common/content_export.h"
#include "services/shell/public/interfaces/shell_client.mojom.h"
-namespace mojo {
+namespace shell {
class Connection;
class Connector;
}
@@ -29,7 +29,7 @@ class CONTENT_EXPORT MojoShellConnection {
// TODO(beng): This should just be ShellClient.
class Listener {
public:
- virtual bool AcceptConnection(mojo::Connection* connection) = 0;
+ virtual bool AcceptConnection(shell::Connection* connection) = 0;
virtual ~Listener() {}
};
@@ -50,10 +50,10 @@ class CONTENT_EXPORT MojoShellConnection {
// Creates the appropriate MojoShellConnection from |request|. See
// UsingExternalShell() for details of |is_external|.
- static void Create(mojo::shell::mojom::ShellClientRequest request,
+ static void Create(shell::mojom::ShellClientRequest request,
bool is_external);
- virtual mojo::Connector* GetConnector() = 0;
+ virtual shell::Connector* GetConnector() = 0;
// Indicates whether the shell connection is to an external shell (true) or
// a shell embedded in the browser process (false).
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/test/test_mojo_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698