Index: content/browser/media/media_web_contents_observer.h |
diff --git a/content/browser/media/media_web_contents_observer.h b/content/browser/media/media_web_contents_observer.h |
index 281e3e32c78bd33a88984710d2b05a3ccccb3ab4..540a921f28ae9c5f6d0d35415dc039e58c24a6c0 100644 |
--- a/content/browser/media/media_web_contents_observer.h |
+++ b/content/browser/media/media_web_contents_observer.h |
@@ -20,9 +20,11 @@ |
#include "ui/android/view_android.h" |
#endif // OS_ANDROID |
-namespace content { |
- |
+namespace device { |
class PowerSaveBlocker; |
+} // namespace device |
+ |
+namespace content { |
// This class manages all RenderFrame based media related managers at the |
// browser side. It receives IPC messages from media RenderFrameObservers and |
@@ -98,8 +100,8 @@ class CONTENT_EXPORT MediaWebContentsObserver : public WebContentsObserver { |
// Tracking variables and associated power save blockers for media playback. |
ActiveMediaPlayerMap active_audio_players_; |
ActiveMediaPlayerMap active_video_players_; |
- std::unique_ptr<PowerSaveBlocker> audio_power_save_blocker_; |
- std::unique_ptr<PowerSaveBlocker> video_power_save_blocker_; |
+ std::unique_ptr<device::PowerSaveBlocker> audio_power_save_blocker_; |
+ std::unique_ptr<device::PowerSaveBlocker> video_power_save_blocker_; |
#if defined(OS_ANDROID) |
std::unique_ptr<base::WeakPtrFactory<ui::ViewAndroid>> view_weak_factory_; |
#endif |