Index: media/capture/content/thread_safe_capture_oracle.h |
diff --git a/media/capture/content/thread_safe_capture_oracle.h b/media/capture/content/thread_safe_capture_oracle.h |
index 7b970c359d579332b472008253f3a0ceb7f29258..c107a19c74ca5a8b28b97a4a631752f0a8fbaedb 100644 |
--- a/media/capture/content/thread_safe_capture_oracle.h |
+++ b/media/capture/content/thread_safe_capture_oracle.h |
@@ -91,6 +91,9 @@ class CAPTURE_EXPORT ThreadSafeCaptureOracle |
void ReportError(const tracked_objects::Location& from_here, |
const std::string& reason); |
+ // Signal device started to the client. |
+ void ReportStarted(); |
+ |
void OnConsumerReportingUtilization(int frame_number, double utilization); |
private: |
@@ -122,6 +125,9 @@ class CAPTURE_EXPORT ThreadSafeCaptureOracle |
// The video capture parameters used to construct the oracle proxy. |
const VideoCaptureParams params_; |
+ |
+ // OnStarted() event has been reported. |
+ bool capture_; |
}; |
} // namespace media |