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

Unified Diff: components/arc/arc_bridge_service_unittest.cc

Issue 1481523002: arc-bridge: Split ArcBridgeService to common part and IPC based impl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: discard using std::move. Update unittest Created 5 years, 1 month 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/arc_bridge_service_impl.cc ('k') | 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 5b765cafd926a23312b8d6451ae1c3da483564ee..a7860bec3546c4e80d2e17b2f38edb227e4d5e9b 100644
--- a/components/arc/arc_bridge_service_unittest.cc
+++ b/components/arc/arc_bridge_service_unittest.cc
@@ -2,11 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/arc/arc_bridge_service.h"
-
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "chromeos/dbus/dbus_thread_manager.h"
+#include "components/arc/arc_bridge_service_impl.h"
#include "components/arc/common/arc_host_messages.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_channel_proxy.h"
@@ -79,7 +78,7 @@ class ArcBridgeTest : public testing::Test, public ArcBridgeService::Observer {
protected:
scoped_ptr<IPCSenderFake> fake_sender_;
- scoped_ptr<ArcBridgeService> service_;
+ scoped_ptr<ArcBridgeServiceImpl> service_;
private:
void SetUp() override {
@@ -91,8 +90,8 @@ class ArcBridgeTest : public testing::Test, public ArcBridgeService::Observer {
ipc_thread_.reset(new base::Thread("IPC thread"));
ipc_thread_->StartWithOptions(
base::Thread::Options(base::MessageLoop::TYPE_IO, 0));
- service_.reset(new ArcBridgeService(ipc_thread_->task_runner(),
- message_loop_.task_runner()));
+ service_.reset(new ArcBridgeServiceImpl(ipc_thread_->task_runner(),
+ message_loop_.task_runner()));
service_->AddObserver(this);
« no previous file with comments | « components/arc/arc_bridge_service_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698