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

Unified Diff: components/arc/standalone/arc_standalone_bridge_main.cc

Issue 2384173004: arc: Remove components/arc/standalone (Closed)
Patch Set: Rebased to ToT 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
« no previous file with comments | « components/arc/BUILD.gn ('k') | components/arc/standalone/arc_standalone_bridge_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/standalone/arc_standalone_bridge_main.cc
diff --git a/components/arc/standalone/arc_standalone_bridge_main.cc b/components/arc/standalone/arc_standalone_bridge_main.cc
deleted file mode 100644
index ecf86f095e5d91364451df8a9a49e7ba530bb628..0000000000000000000000000000000000000000
--- a/components/arc/standalone/arc_standalone_bridge_main.cc
+++ /dev/null
@@ -1,29 +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/at_exit.h"
-#include "base/bind.h"
-#include "base/command_line.h"
-#include "components/arc/standalone/arc_standalone_bridge_runner.h"
-#include "components/arc/standalone/service_helper.h"
-#include "mojo/edk/embedder/embedder.h"
-
-// This is experimental only. Do not use in production.
-// All threads in the standalone runner must be I/O threads.
-int main(int argc, char** argv) {
- base::CommandLine::Init(argc, argv);
- base::AtExitManager at_exit_manager;
- mojo::edk::Init();
-
- // Instantiate runner, which instantiates message loop.
- arc::ArcStandaloneBridgeRunner runner;
- arc::ServiceHelper helper;
- helper.Init(base::Bind(&arc::ArcStandaloneBridgeRunner::Stop,
- base::Unretained(&runner),
- 1));
-
- // Spin the message loop.
- int exit_code = runner.Run();
- return exit_code;
-}
« no previous file with comments | « components/arc/BUILD.gn ('k') | components/arc/standalone/arc_standalone_bridge_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698