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

Unified Diff: services/shell/runner/child/native_apptest_target.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/runner/child/native_apptest.cc ('k') | services/shell/runner/child/test_native_main.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/runner/child/native_apptest_target.cc
diff --git a/services/shell/runner/child/native_apptest_target.cc b/services/shell/runner/child/native_apptest_target.cc
index 0e0c4b024deb324177538095c3aa97605f9e69d0..ab1ec4c95942e3fec3906c89fdd1426334a701d7 100644
--- a/services/shell/runner/child/native_apptest_target.cc
+++ b/services/shell/runner/child/native_apptest_target.cc
@@ -18,33 +18,33 @@
namespace {
class TargetApplicationDelegate
- : public mojo::ShellClient,
- public mojo::shell::test::TestNativeService,
- public mojo::InterfaceFactory<mojo::shell::test::TestNativeService> {
+ : public shell::ShellClient,
+ public shell::test::TestNativeService,
+ public shell::InterfaceFactory<shell::test::TestNativeService> {
public:
TargetApplicationDelegate() {}
~TargetApplicationDelegate() override {}
private:
- // mojo::ShellClient:
- bool AcceptConnection(mojo::Connection* connection) override {
- connection->AddInterface<mojo::shell::test::TestNativeService>(this);
+ // shell::ShellClient:
+ bool AcceptConnection(shell::Connection* connection) override {
+ connection->AddInterface<shell::test::TestNativeService>(this);
return true;
}
- // mojo::shell::test::TestNativeService:
+ // shell::test::TestNativeService:
void Invert(bool from_driver, const InvertCallback& callback) override {
callback.Run(!from_driver);
}
- // mojo::InterfaceFactory<mojo::shell::test::TestNativeService>:
- void Create(mojo::Connection* connection,
- mojo::InterfaceRequest<mojo::shell::test::TestNativeService>
- request) override {
+ // shell::InterfaceFactory<shell::test::TestNativeService>:
+ void Create(
+ shell::Connection* connection,
+ mojo::InterfaceRequest<shell::test::TestNativeService> request) override {
bindings_.AddBinding(this, std::move(request));
}
- mojo::BindingSet<mojo::shell::test::TestNativeService> bindings_;
+ mojo::BindingSet<shell::test::TestNativeService> bindings_;
DISALLOW_COPY_AND_ASSIGN(TargetApplicationDelegate);
};
@@ -55,8 +55,8 @@ int main(int argc, char** argv) {
base::AtExitManager at_exit;
base::CommandLine::Init(argc, argv);
- mojo::shell::InitializeLogging();
+ shell::InitializeLogging();
TargetApplicationDelegate delegate;
- return mojo::shell::TestNativeMain(&delegate);
+ return shell::TestNativeMain(&delegate);
}
« no previous file with comments | « services/shell/runner/child/native_apptest.cc ('k') | services/shell/runner/child/test_native_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698