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

Unified Diff: components/arc/standalone/arc_standalone_bridge_runner.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
Index: components/arc/standalone/arc_standalone_bridge_runner.cc
diff --git a/components/arc/standalone/arc_standalone_bridge_runner.cc b/components/arc/standalone/arc_standalone_bridge_runner.cc
deleted file mode 100644
index 1e9f5c0e907a671b63f791f4bd328df63c2f2a3b..0000000000000000000000000000000000000000
--- a/components/arc/standalone/arc_standalone_bridge_runner.cc
+++ /dev/null
@@ -1,35 +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 "components/arc/standalone/arc_standalone_bridge_runner.h"
-
-#include "base/bind.h"
-#include "base/run_loop.h"
-#include "base/single_thread_task_runner.h"
-
-namespace arc {
-
-ArcStandaloneBridgeRunner::ArcStandaloneBridgeRunner() : exit_code_(0) {
-}
-
-ArcStandaloneBridgeRunner::~ArcStandaloneBridgeRunner() {
-}
-
-int ArcStandaloneBridgeRunner::Run() {
- DCHECK(thread_checker_.CalledOnValidThread());
- run_loop_.reset(new base::RunLoop());
- run_loop_->Run();
- run_loop_.reset(nullptr);
-
- return exit_code_;
-}
-
-void ArcStandaloneBridgeRunner::Stop(int exit_code) {
- DCHECK(thread_checker_.CalledOnValidThread());
- exit_code_ = exit_code;
- CHECK(run_loop_);
- message_loop_.task_runner()->PostTask(FROM_HERE, run_loop_->QuitClosure());
-}
-
-} // namespace arc
« no previous file with comments | « components/arc/standalone/arc_standalone_bridge_runner.h ('k') | components/arc/standalone/service_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698