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

Unified Diff: ash/system/chromeos/power/video_activity_notifier.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
Index: ash/system/chromeos/power/video_activity_notifier.cc
diff --git a/ash/system/chromeos/power/video_activity_notifier.cc b/ash/system/chromeos/power/video_activity_notifier.cc
index 3c194264c5b4dfc7552544fb3c34e86f0b2d8602..0716f1ae68b5dca4363b335a6de2e925af3e0c68 100644
--- a/ash/system/chromeos/power/video_activity_notifier.cc
+++ b/ash/system/chromeos/power/video_activity_notifier.cc
@@ -4,10 +4,11 @@
#include "ash/system/chromeos/power/video_activity_notifier.h"
+#include "ash/common/dbus_thread_manager_ash.h"
#include "ash/common/session/session_state_delegate.h"
#include "ash/common/wm_shell.h"
#include "ash/shell.h"
-#include "chromeos/dbus/dbus_thread_manager.h"
+// #include "chromeos/dbus/dbus_thread_manager.h"
#include "chromeos/dbus/power_manager_client.h"
namespace ash {
@@ -73,7 +74,7 @@ void VideoActivityNotifier::UpdateTimer() {
void VideoActivityNotifier::MaybeNotifyPowerManager() {
if (should_notify_power_manager()) {
- chromeos::DBusThreadManager::Get()
+ DBusThreadManagerAsh::Get()
->GetPowerManagerClient()
->NotifyVideoActivity(video_state_ ==
VideoDetector::State::PLAYING_FULLSCREEN);

Powered by Google App Engine
This is Rietveld 408576698