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

Unified Diff: services/shell/tests/connect/connect_test_singleton_app.cc

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: services/shell/tests/connect/connect_test_singleton_app.cc
diff --git a/services/shell/tests/connect/connect_test_singleton_app.cc b/services/shell/tests/connect/connect_test_singleton_app.cc
index ff23fdcc9c0870e2c11f8f3c54d12e545784f784..51a2a3ecd45604a9140e9a09130dc53053092a67 100644
--- a/services/shell/tests/connect/connect_test_singleton_app.cc
+++ b/services/shell/tests/connect/connect_test_singleton_app.cc
@@ -7,7 +7,6 @@
#include "services/shell/public/cpp/application_runner.h"
#include "services/shell/public/cpp/shell_client.h"
-namespace mojo {
namespace shell {
class ConnectTestSingletonApp : public ShellClient {
@@ -16,7 +15,7 @@ class ConnectTestSingletonApp : public ShellClient {
~ConnectTestSingletonApp() override {}
private:
- // mojo::ShellClient:
+ // shell::ShellClient:
void Initialize(Connector* connector, const Identity& identity,
uint32_t id) override {}
bool AcceptConnection(Connection* connection) override {
@@ -27,10 +26,9 @@ class ConnectTestSingletonApp : public ShellClient {
};
} // namespace shell
-} // namespace mojo
MojoResult MojoMain(MojoHandle shell_handle) {
- return mojo::ApplicationRunner(
- new mojo::shell::ConnectTestSingletonApp).Run(shell_handle);
+ return shell::ApplicationRunner(new shell::ConnectTestSingletonApp)
+ .Run(shell_handle);
}
« no previous file with comments | « services/shell/tests/connect/connect_test_package.cc ('k') | services/shell/tests/connect/connect_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698