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

Unified Diff: components/arc/standalone/arc_standalone_bridge_runner.h

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.h
diff --git a/components/arc/standalone/arc_standalone_bridge_runner.h b/components/arc/standalone/arc_standalone_bridge_runner.h
deleted file mode 100644
index 28e36c9a63fd9d7172545a7d638a6e79160eaa5f..0000000000000000000000000000000000000000
--- a/components/arc/standalone/arc_standalone_bridge_runner.h
+++ /dev/null
@@ -1,42 +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.
-
-#ifndef COMPONENTS_ARC_STANDALONE_ARC_STANDALONE_BRIDGE_RUNNER_H_
-#define COMPONENTS_ARC_STANDALONE_ARC_STANDALONE_BRIDGE_RUNNER_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "base/message_loop/message_loop.h"
-#include "base/run_loop.h"
-#include "base/threading/thread_checker.h"
-
-namespace arc {
-
-// Runner of the standalone ARC++ bridge, which hosts an IO message loop.
-class ArcStandaloneBridgeRunner {
- public:
- ArcStandaloneBridgeRunner();
- ~ArcStandaloneBridgeRunner();
-
- // Starts the message loop. Needs to be run on the thread where this
- // instance is created.
- int Run();
-
- // Stops the message loop. Needs to be called in a message loop.
- void Stop(int exit_code);
-
- private:
- base::MessageLoopForIO message_loop_;
- std::unique_ptr<base::RunLoop> run_loop_;
- base::ThreadChecker thread_checker_;
- int exit_code_;
-
- DISALLOW_COPY_AND_ASSIGN(ArcStandaloneBridgeRunner);
-};
-
-
-} // namespace arc
-
-#endif // COMPONENTS_ARC_STANDALONE_ARC_STANDALONE_BRIDGE_RUNNER_H_
« no previous file with comments | « components/arc/standalone/arc_standalone_bridge_main.cc ('k') | components/arc/standalone/arc_standalone_bridge_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698