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

Side by Side Diff: media/capture/content/smooth_event_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, 6 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_SMOOTH_EVENT_SAMPLER_H_ 5 #ifndef MEDIA_CAPTURE_CONTENT_SMOOTH_EVENT_SAMPLER_H_
6 #define MEDIA_CAPTURE_SMOOTH_EVENT_SAMPLER_H_ 6 #define MEDIA_CAPTURE_CONTENT_SMOOTH_EVENT_SAMPLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "media/base/media_export.h" 10 #include "media/base/media_export.h"
11 11
12 namespace media { 12 namespace media {
13 13
14 // Filters a sequence of events to achieve a target frequency. 14 // Filters a sequence of events to achieve a target frequency.
15 class MEDIA_EXPORT SmoothEventSampler { 15 class MEDIA_EXPORT SmoothEventSampler {
16 public: 16 public:
(...skipping 27 matching lines...) Expand all
44 44
45 base::TimeTicks current_event_; 45 base::TimeTicks current_event_;
46 base::TimeTicks last_sample_; 46 base::TimeTicks last_sample_;
47 base::TimeDelta token_bucket_; 47 base::TimeDelta token_bucket_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(SmoothEventSampler); 49 DISALLOW_COPY_AND_ASSIGN(SmoothEventSampler);
50 }; 50 };
51 51
52 } // namespace media 52 } // namespace media
53 53
54 #endif // MEDIA_CAPTURE_SMOOTH_EVENT_SAMPLER_H_ 54 #endif // MEDIA_CAPTURE_CONTENT_SMOOTH_EVENT_SAMPLER_H_
OLDNEW
« no previous file with comments | « media/capture/content/screen_capture_device_core.h ('k') | media/capture/video/android/video_capture_device_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698