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

Unified Diff: services/shell/tests/connect/connect_test_class_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_class_app.cc
diff --git a/services/shell/tests/connect/connect_test_class_app.cc b/services/shell/tests/connect/connect_test_class_app.cc
index fe75a63f89dc7d7c7c72e0777d74ae69bc156988..d64d38b369294d791a50cb2b320843ef5017938c 100644
--- a/services/shell/tests/connect/connect_test_class_app.cc
+++ b/services/shell/tests/connect/connect_test_class_app.cc
@@ -15,7 +15,6 @@
#include "services/shell/public/interfaces/connector.mojom.h"
#include "services/shell/tests/connect/connect_test.mojom.h"
-namespace mojo {
namespace shell {
using GetTitleCallback = test::mojom::ConnectTestService::GetTitleCallback;
@@ -31,7 +30,7 @@ class ConnectTestClassApp
~ConnectTestClassApp() override {}
private:
- // mojo::ShellClient:
+ // shell::ShellClient:
void Initialize(Connector* connector, const Identity& identity,
uint32_t id) override {
connector_ = connector;
@@ -84,18 +83,17 @@ class ConnectTestClassApp
Connector* connector_ = nullptr;
Identity identity_;
std::set<Connection*> inbound_connections_;
- BindingSet<test::mojom::ConnectTestService> bindings_;
- BindingSet<test::mojom::ClassInterface> class_interface_bindings_;
+ mojo::BindingSet<test::mojom::ConnectTestService> bindings_;
+ mojo::BindingSet<test::mojom::ClassInterface> class_interface_bindings_;
DISALLOW_COPY_AND_ASSIGN(ConnectTestClassApp);
};
} // namespace shell
-} // namespace mojo
MojoResult MojoMain(MojoHandle shell_handle) {
- MojoResult rv = mojo::ApplicationRunner(
- new mojo::shell::ConnectTestClassApp).Run(shell_handle);
+ MojoResult rv = shell::ApplicationRunner(new shell::ConnectTestClassApp)
+ .Run(shell_handle);
return rv;
}

Powered by Google App Engine
This is Rietveld 408576698