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

Side by Side Diff: media/capture/content/animated_content_sampler.h

Issue 2010793003: Clean up media header include guards (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update references to the param traits guard Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_CAPTURE_ANIMATED_CONTENT_SAMPLER_H_ 5 #ifndef MEDIA_CAPTURE_CONTENT_ANIMATED_CONTENT_SAMPLER_H_
6 #define MEDIA_CAPTURE_ANIMATED_CONTENT_SAMPLER_H_ 6 #define MEDIA_CAPTURE_CONTENT_ANIMATED_CONTENT_SAMPLER_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "base/time/time.h" 10 #include "base/time/time.h"
11 #include "media/base/media_export.h" 11 #include "media/base/media_export.h"
12 #include "ui/gfx/geometry/rect.h" 12 #include "ui/gfx/geometry/rect.h"
13 13
14 namespace media { 14 namespace media {
15 15
16 // Analyzes a sequence of events to detect the presence of constant frame rate 16 // Analyzes a sequence of events to detect the presence of constant frame rate
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // of time (one microsecond) equals one token; and, tokens are only taken from 147 // of time (one microsecond) equals one token; and, tokens are only taken from
148 // the bucket when at least a full sampling period's worth are present. 148 // the bucket when at least a full sampling period's worth are present.
149 base::TimeDelta token_bucket_; 149 base::TimeDelta token_bucket_;
150 150
151 // The rewritten frame timestamp for the latest event. 151 // The rewritten frame timestamp for the latest event.
152 base::TimeTicks frame_timestamp_; 152 base::TimeTicks frame_timestamp_;
153 }; 153 };
154 154
155 } // namespace media 155 } // namespace media
156 156
157 #endif // MEDIA_CAPTURE_ANIMATED_CONTENT_SAMPLER_H_ 157 #endif // MEDIA_CAPTURE_CONTENT_ANIMATED_CONTENT_SAMPLER_H_
OLDNEW
« no previous file with comments | « media/blink/webmediaplayer_cast_android.h ('k') | media/capture/content/capture_resolution_chooser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698