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

Unified Diff: ash/system/chromeos/power/video_activity_notifier_unittest.cc

Issue 2319783002: mash: Allow a subset of D-Bus clients to be created in DBusThreadManager (Closed)
Patch Set: WIP, add DBusThreadManagerAsh and DBusThreadManagerChrome Created 4 years, 3 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 | « ash/system/chromeos/power/video_activity_notifier.cc ('k') | ash/sysui/sysui_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/power/video_activity_notifier_unittest.cc
diff --git a/ash/system/chromeos/power/video_activity_notifier_unittest.cc b/ash/system/chromeos/power/video_activity_notifier_unittest.cc
index eaf9fc8e8c0ae6f372b8b9b1b58abf2220d517cd..68e35bdff9de70b1fca2dbec750433b9410acde7 100644
--- a/ash/system/chromeos/power/video_activity_notifier_unittest.cc
+++ b/ash/system/chromeos/power/video_activity_notifier_unittest.cc
@@ -6,10 +6,11 @@
#include <memory>
+#include "ash/common/dbus_thread_manager_ash.h"
#include "ash/test/ash_test_base.h"
#include "ash/wm/video_detector.h"
#include "base/macros.h"
-#include "chromeos/dbus/dbus_thread_manager.h"
+// #include "chromeos/dbus/dbus_thread_manager.h"
#include "chromeos/dbus/fake_power_manager_client.h"
namespace ash {
@@ -22,7 +23,7 @@ class VideoActivityNotifierTest : public test::AshTestBase {
void SetUp() override {
test::AshTestBase::SetUp();
power_client_ = static_cast<chromeos::FakePowerManagerClient*>(
- chromeos::DBusThreadManager::Get()->GetPowerManagerClient());
+ DBusThreadManagerAsh::Get()->GetPowerManagerClient());
detector_.reset(new VideoDetector());
notifier_.reset(new VideoActivityNotifier(detector_.get()));
}
« no previous file with comments | « ash/system/chromeos/power/video_activity_notifier.cc ('k') | ash/sysui/sysui_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698