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

Unified Diff: content/common/mojo/mojo_shell_connection_impl.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
Index: content/common/mojo/mojo_shell_connection_impl.h
diff --git a/content/common/mojo/mojo_shell_connection_impl.h b/content/common/mojo/mojo_shell_connection_impl.h
index 2213d201aa093d87b6300e0ca33138a2abe4e1c9..4a9f82f58d1076dc20a60b1781e97694868c3a0d 100644
--- a/content/common/mojo/mojo_shell_connection_impl.h
+++ b/content/common/mojo/mojo_shell_connection_impl.h
@@ -11,7 +11,6 @@
#include "base/macros.h"
#include "content/public/common/mojo_shell_connection.h"
#include "mojo/public/cpp/system/message_pipe.h"
-#include "services/shell/public/cpp/shell.h"
#include "services/shell/public/cpp/shell_client.h"
#include "services/shell/public/cpp/shell_connection.h"
@@ -21,7 +20,7 @@ namespace content {
bool IsRunningInMojoShell();
class MojoShellConnectionImpl : public MojoShellConnection,
- public mojo::ShellClient {
+ public shell::ShellClient {
public:
// Creates the MojoShellConnection using MojoShellConnection::Factory. Returns
// true if a factory was set and the connection was created, false otherwise.
@@ -48,21 +47,21 @@ class MojoShellConnectionImpl : public MojoShellConnection,
void WaitForShellIfNecessary();
- // mojo::ShellClient:
- void Initialize(mojo::Connector* connector,
- const mojo::Identity& identity,
+ // shell::ShellClient:
+ void Initialize(shell::Connector* connector,
+ const shell::Identity& identity,
uint32_t id) override;
- bool AcceptConnection(mojo::Connection* connection) override;
+ bool AcceptConnection(shell::Connection* connection) override;
// MojoShellConnection:
- mojo::Connector* GetConnector() override;
+ shell::Connector* GetConnector() override;
bool UsingExternalShell() const override;
void SetConnectionLostClosure(const base::Closure& closure) override;
void AddListener(Listener* listener) override;
void RemoveListener(Listener* listener) override;
const bool external_;
- std::unique_ptr<mojo::ShellConnection> shell_connection_;
+ std::unique_ptr<shell::ShellConnection> shell_connection_;
std::vector<Listener*> listeners_;
DISALLOW_COPY_AND_ASSIGN(MojoShellConnectionImpl);
« no previous file with comments | « content/common/mojo/embedded_application_runner.cc ('k') | content/common/mojo/mojo_shell_connection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698