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

Unified Diff: mojo/services/network/main.cc

Issue 1873463003: Remove mojo network service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « mojo/services/network/http_server_unittest.cc ('k') | mojo/services/network/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/main.cc
diff --git a/mojo/services/network/main.cc b/mojo/services/network/main.cc
deleted file mode 100644
index 3ae88bc69216da3c0214863b0be9226530d5320f..0000000000000000000000000000000000000000
--- a/mojo/services/network/main.cc
+++ /dev/null
@@ -1,14 +0,0 @@
-// Copyright 2015 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/message_loop/message_loop.h"
-#include "mojo/public/c/system/main.h"
-#include "mojo/services/network/network_service_delegate.h"
-#include "mojo/shell/public/cpp/application_runner.h"
-
-MojoResult MojoMain(MojoHandle shell_handle) {
- mojo::ApplicationRunner runner(new mojo::NetworkServiceDelegate);
- runner.set_message_loop_type(base::MessageLoop::TYPE_IO);
- return runner.Run(shell_handle);
-}
« no previous file with comments | « mojo/services/network/http_server_unittest.cc ('k') | mojo/services/network/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698