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

Unified Diff: mojo/examples/apptest/example_service_application.cc

Issue 684543003: Move //mojo/examples to //examples (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « mojo/examples/apptest/example_service_application.h ('k') | mojo/examples/apptest/example_service_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/apptest/example_service_application.cc
diff --git a/mojo/examples/apptest/example_service_application.cc b/mojo/examples/apptest/example_service_application.cc
deleted file mode 100644
index a62a510e437ab37422fb1ba94561e968cad240dc..0000000000000000000000000000000000000000
--- a/mojo/examples/apptest/example_service_application.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 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 "mojo/examples/apptest/example_service_application.h"
-
-#include "mojo/public/c/system/main.h"
-#include "mojo/public/cpp/application/application_connection.h"
-#include "mojo/public/cpp/application/application_runner.h"
-
-namespace mojo {
-
-ExampleServiceApplication::ExampleServiceApplication() {}
-
-ExampleServiceApplication::~ExampleServiceApplication() {}
-
-bool ExampleServiceApplication::ConfigureIncomingConnection(
- ApplicationConnection* connection) {
- connection->AddService(&example_service_factory_);
- return true;
-}
-
-} // namespace mojo
-
-MojoResult MojoMain(MojoHandle shell_handle) {
- mojo::ApplicationRunner runner(new mojo::ExampleServiceApplication());
- return runner.Run(shell_handle);
-}
« no previous file with comments | « mojo/examples/apptest/example_service_application.h ('k') | mojo/examples/apptest/example_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698