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

Unified Diff: content/browser/media/capture/aura_window_capture_machine.h

Issue 2075153002: Reland of 'Move content/browser/power_save_blocker to //device/power_save_blocker' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing libs for component mac Created 4 years, 6 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: content/browser/media/capture/aura_window_capture_machine.h
diff --git a/content/browser/media/capture/aura_window_capture_machine.h b/content/browser/media/capture/aura_window_capture_machine.h
index ceb6e7f61af130faa18b76228bae721a9b0789d4..848c3251de8fd35497f52e36c0fe63ec5f27940d 100644
--- a/content/browser/media/capture/aura_window_capture_machine.h
+++ b/content/browser/media/capture/aura_window_capture_machine.h
@@ -18,19 +18,19 @@
#include "ui/compositor/compositor_animation_observer.h"
namespace cc {
-
class CopyOutputResult;
-
} // namespace cc
+namespace device {
+class PowerSaveBlocker;
+} // namespace device
+
namespace display_compositor {
class ReadbackYUVInterface;
}
namespace content {
-class PowerSaveBlocker;
-
class AuraWindowCaptureMachine
: public media::VideoCaptureMachine,
public aura::WindowObserver,
@@ -124,7 +124,7 @@ class AuraWindowCaptureMachine
// TODO(jiayl): Remove power_save_blocker_ when there is an API to keep the
// screen from sleeping for the drive-by web.
- std::unique_ptr<PowerSaveBlocker> power_save_blocker_;
+ std::unique_ptr<device::PowerSaveBlocker> power_save_blocker_;
// WeakPtrs are used for the asynchronous capture callbacks passed to external
// modules. They are only valid on the UI thread and become invalidated

Powered by Google App Engine
This is Rietveld 408576698