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

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

Issue 962503005: Clean-up: Remove accelerated subscriber switch for tab/desktop capture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/video_capture_oracle.h
diff --git a/content/browser/media/capture/video_capture_oracle.h b/content/browser/media/capture/video_capture_oracle.h
index 32e7baff4da470e6d6d5c47f20ac26e766a9036a..8728ace6ef91b651c60afacf06896692c0495bc6 100644
--- a/content/browser/media/capture/video_capture_oracle.h
+++ b/content/browser/media/capture/video_capture_oracle.h
@@ -19,7 +19,6 @@ namespace content {
class CONTENT_EXPORT SmoothEventSampler {
public:
SmoothEventSampler(base::TimeDelta min_capture_period,
- bool events_are_reliable,
int redundant_capture_goal);
base::TimeDelta min_capture_period() const { return min_capture_period_; }
@@ -46,7 +45,6 @@ class CONTENT_EXPORT SmoothEventSampler {
bool HasUnrecordedEvent() const;
private:
- const bool events_are_reliable_;
const base::TimeDelta min_capture_period_;
const int redundant_capture_goal_;
const base::TimeDelta token_bucket_capacity_;
@@ -181,8 +179,7 @@ class CONTENT_EXPORT VideoCaptureOracle {
kNumEvents,
};
- VideoCaptureOracle(base::TimeDelta min_capture_period,
- bool events_are_reliable);
+ explicit VideoCaptureOracle(base::TimeDelta min_capture_period);
virtual ~VideoCaptureOracle();
// Record a event of type |event|, and decide whether the caller should do a

Powered by Google App Engine
This is Rietveld 408576698