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

Unified Diff: services/shell/background/tests/test_service.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
« no previous file with comments | « services/shell/background/tests/test_catalog_store.cc ('k') | services/shell/connect_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/background/tests/test_service.cc
diff --git a/services/shell/background/tests/test_service.cc b/services/shell/background/tests/test_service.cc
index d6c042bcc02b12bbac06cd4b7dd74aac3b5f68a1..97499339d2a046593c11d9e73687ab18ed38599e 100644
--- a/services/shell/background/tests/test_service.cc
+++ b/services/shell/background/tests/test_service.cc
@@ -9,7 +9,6 @@
#include "services/shell/public/cpp/connection.h"
#include "services/shell/public/cpp/shell_client.h"
-namespace mojo {
namespace shell {
class TestClient : public ShellClient,
@@ -31,7 +30,7 @@ class TestClient : public ShellClient,
// InterfaceFactory<mojom::TestService>:
void Create(Connection* connection,
- InterfaceRequest<mojom::TestService> request) override {
+ mojo::InterfaceRequest<mojom::TestService> request) override {
bindings_.AddBinding(this, std::move(request));
}
@@ -40,15 +39,14 @@ class TestClient : public ShellClient,
callback.Run();
}
- BindingSet<mojom::TestService> bindings_;
+ mojo::BindingSet<mojom::TestService> bindings_;
DISALLOW_COPY_AND_ASSIGN(TestClient);
};
} // namespace shell
-} // namespace mojo
MojoResult MojoMain(MojoHandle shell_handle) {
- mojo::ApplicationRunner runner(new mojo::shell::TestClient);
+ shell::ApplicationRunner runner(new shell::TestClient);
return runner.Run(shell_handle);
}
« no previous file with comments | « services/shell/background/tests/test_catalog_store.cc ('k') | services/shell/connect_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698