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

Unified Diff: services/shell/tests/lifecycle/app_client.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/tests/lifecycle/app_client.h ('k') | services/shell/tests/lifecycle/lifecycle_exe.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/tests/lifecycle/app_client.cc
diff --git a/services/shell/tests/lifecycle/app_client.cc b/services/shell/tests/lifecycle/app_client.cc
index 256ef16a4dc639a478d2be4b67c4c4a8ce64a8e1..14d0c3ae212f724968aa84895399252f10f3418a 100644
--- a/services/shell/tests/lifecycle/app_client.cc
+++ b/services/shell/tests/lifecycle/app_client.cc
@@ -6,7 +6,6 @@
#include "services/shell/public/cpp/shell_connection.h"
-namespace mojo {
namespace shell {
namespace test {
@@ -15,12 +14,12 @@ AppClient::AppClient(shell::mojom::ShellClientRequest request)
: connection_(new ShellConnection(this, std::move(request))) {}
AppClient::~AppClient() {}
-bool AppClient::AcceptConnection(mojo::Connection* connection) {
+bool AppClient::AcceptConnection(Connection* connection) {
connection->AddInterface<LifecycleControl>(this);
return true;
}
-void AppClient::Create(mojo::Connection* connection,
+void AppClient::Create(Connection* connection,
LifecycleControlRequest request) {
bindings_.AddBinding(this, std::move(request));
}
@@ -55,6 +54,5 @@ void AppClient::BindingLost() {
} // namespace test
} // namespace shell
-} // namespace mojo
« no previous file with comments | « services/shell/tests/lifecycle/app_client.h ('k') | services/shell/tests/lifecycle/lifecycle_exe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698