| 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 f41e73ce460af2a7bdcf3bfe6739b037aa01307f..4b3b212b5a5951c2db7795c5b6a205c8b8835d2b 100644
|
| --- a/content/browser/media/capture/aura_window_capture_machine.h
|
| +++ b/content/browser/media/capture/aura_window_capture_machine.h
|
| @@ -35,8 +35,9 @@ class AuraWindowCaptureMachine
|
| ~AuraWindowCaptureMachine() override;
|
|
|
| // VideoCaptureFrameSource overrides.
|
| - bool Start(const scoped_refptr<ThreadSafeCaptureOracle>& oracle_proxy,
|
| - const media::VideoCaptureParams& params) override;
|
| + void Start(const scoped_refptr<ThreadSafeCaptureOracle>& oracle_proxy,
|
| + const media::VideoCaptureParams& params,
|
| + const base::Callback<void(bool)> callback) override;
|
| void Stop(const base::Closure& callback) override;
|
|
|
| // Implements aura::WindowObserver.
|
| @@ -61,6 +62,10 @@ class AuraWindowCaptureMachine
|
| void SetWindow(aura::Window* window);
|
|
|
| private:
|
| + bool InternalStart(const scoped_refptr<ThreadSafeCaptureOracle>& oracle_proxy,
|
| + const media::VideoCaptureParams& params);
|
| + void InternalStop(const base::Closure& callback);
|
| +
|
| // Captures a frame.
|
| // |dirty| is false for timer polls and true for compositor updates.
|
| void Capture(bool dirty);
|
|
|