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

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

Issue 2419063003: Move services/shell to services/service_manager (Closed)
Patch Set: Created 4 years, 2 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_singleton_app.cc
diff --git a/services/shell/tests/connect/connect_test_singleton_app.cc b/services/shell/tests/connect/connect_test_singleton_app.cc
deleted file mode 100644
index c4da0595c535ab24813932ab2ab275032154d45a..0000000000000000000000000000000000000000
--- a/services/shell/tests/connect/connect_test_singleton_app.cc
+++ /dev/null
@@ -1,33 +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 "services/shell/public/c/main.h"
-#include "services/shell/public/cpp/service.h"
-#include "services/shell/public/cpp/service_runner.h"
-
-namespace shell {
-
-class ConnectTestSingletonApp : public Service {
- public:
- ConnectTestSingletonApp() {}
- ~ConnectTestSingletonApp() override {}
-
- private:
- // shell::Service:
- bool OnConnect(const Identity& remote_identity,
- InterfaceRegistry* registry) override {
- return true;
- }
-
- DISALLOW_COPY_AND_ASSIGN(ConnectTestSingletonApp);
-};
-
-} // namespace shell
-
-
-MojoResult ServiceMain(MojoHandle service_request_handle) {
- shell::ServiceRunner runner(new shell::ConnectTestSingletonApp);
- return runner.Run(service_request_handle);
-}

Powered by Google App Engine
This is Rietveld 408576698