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

Unified Diff: media/capture/content/video_capture_oracle.h

Issue 1484403002: cast: Support for low-latency interactive mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years 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
« no previous file with comments | « media/capture/content/thread_safe_capture_oracle.h ('k') | media/cast/cast_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/content/video_capture_oracle.h
diff --git a/media/capture/content/video_capture_oracle.h b/media/capture/content/video_capture_oracle.h
index aff9745295118330e1406f168b5ce4f3526e929c..6a239737e0963e7d540fade0691ca7fb58137e1a 100644
--- a/media/capture/content/video_capture_oracle.h
+++ b/media/capture/content/video_capture_oracle.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MEDIA_CAPTURE_VIDEO_CAPTURE_ORACLE_H_
-#define MEDIA_CAPTURE_VIDEO_CAPTURE_ORACLE_H_
+#ifndef MEDIA_CAPTURE_CONTENT_VIDEO_CAPTURE_ORACLE_H_
+#define MEDIA_CAPTURE_CONTENT_VIDEO_CAPTURE_ORACLE_H_
#include "base/callback_forward.h"
#include "base/memory/scoped_ptr.h"
@@ -98,6 +98,11 @@ class MEDIA_EXPORT VideoCaptureOracle {
// changes to the capture size, to avoid stressing the end-to-end pipeline.
gfx::Size capture_size() const { return capture_size_; }
+ // Returns the oracle's estimate of the last time animation was detected.
+ base::TimeTicks last_time_animation_was_detected() const {
+ return last_time_animation_was_detected_;
+ }
+
private:
// Retrieve/Assign a frame timestamp by capture |frame_number|. Only valid
// when IsFrameInRecentHistory(frame_number) returns true.
@@ -199,4 +204,4 @@ class MEDIA_EXPORT VideoCaptureOracle {
} // namespace media
-#endif // MEDIA_CAPTURE_VIDEO_CAPTURE_ORACLE_H_
+#endif // MEDIA_CAPTURE_CONTENT_VIDEO_CAPTURE_ORACLE_H_
« no previous file with comments | « media/capture/content/thread_safe_capture_oracle.h ('k') | media/cast/cast_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698