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

Unified Diff: components/arc/arc_bridge_service_unittest.cc

Issue 1639023003: [arc] Don't bring up ScopedIPCSupport for unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/arc_bridge_service_unittest.cc
diff --git a/components/arc/arc_bridge_service_unittest.cc b/components/arc/arc_bridge_service_unittest.cc
index 74100b7523c56eeb26006c617f007ccc3be8794d..79b1fd0540b9e9c5086a374effd0a26cf02c759c 100644
--- a/components/arc/arc_bridge_service_unittest.cc
+++ b/components/arc/arc_bridge_service_unittest.cc
@@ -84,7 +84,6 @@ class ArcBridgeTest : public testing::Test, public ArcBridgeService::Observer {
ready_ = false;
state_ = ArcBridgeService::State::STOPPED;
- ipc_support_.reset(new IPC::ScopedIPCSupport(message_loop_.task_runner()));
instance_.reset(new FakeArcBridgeInstance());
service_.reset(new ArcBridgeServiceImpl(
make_scoped_ptr(new FakeArcBridgeBootstrap(instance_.get()))));
@@ -96,14 +95,12 @@ class ArcBridgeTest : public testing::Test, public ArcBridgeService::Observer {
service_->RemoveObserver(this);
instance_.reset();
service_.reset();
- ipc_support_.reset();
chromeos::DBusThreadManager::Shutdown();
}
bool ready_;
ArcBridgeService::State state_;
- scoped_ptr<IPC::ScopedIPCSupport> ipc_support_;
base::MessageLoopForUI message_loop_;
DISALLOW_COPY_AND_ASSIGN(ArcBridgeTest);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698