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

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

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . 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: mojo/shell/tests/connect/connect_test_singleton_app.cc
diff --git a/mojo/shell/tests/connect/connect_test_singleton_app.cc b/mojo/shell/tests/connect/connect_test_singleton_app.cc
deleted file mode 100644
index 1ee8cbdfaf66c759827e87ac64bbecc7ec1b586b..0000000000000000000000000000000000000000
--- a/mojo/shell/tests/connect/connect_test_singleton_app.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "base/macros.h"
-#include "mojo/public/c/system/main.h"
-#include "mojo/shell/public/cpp/application_runner.h"
-#include "mojo/shell/public/cpp/shell_client.h"
-
-namespace mojo {
-namespace shell {
-
-class ConnectTestSingletonApp : public ShellClient {
- public:
- ConnectTestSingletonApp() {}
- ~ConnectTestSingletonApp() override {}
-
- private:
- // mojo::ShellClient:
- void Initialize(Connector* connector, const Identity& identity,
- uint32_t id) override {}
- bool AcceptConnection(Connection* connection) override {
- return true;
- }
-
- DISALLOW_COPY_AND_ASSIGN(ConnectTestSingletonApp);
-};
-
-} // namespace shell
-} // namespace mojo
-
-
-MojoResult MojoMain(MojoHandle shell_handle) {
- return mojo::ApplicationRunner(
- new mojo::shell::ConnectTestSingletonApp).Run(shell_handle);
-}

Powered by Google App Engine
This is Rietveld 408576698