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

Side by Side Diff: media/base/download_rate_monitor.h

Issue 8956019: base::Bind: Remove includes of base.bind in header files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mac fix. Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BASE_DOWNLOAD_RATE_MONITOR_H_ 5 #ifndef MEDIA_BASE_DOWNLOAD_RATE_MONITOR_H_
6 #define MEDIA_BASE_DOWNLOAD_RATE_MONITOR_H_ 6 #define MEDIA_BASE_DOWNLOAD_RATE_MONITOR_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "base/bind.h"
11 #include "base/callback.h" 10 #include "base/callback.h"
12 #include "base/time.h" 11 #include "base/time.h"
13 #include "media/base/media_export.h" 12 #include "media/base/media_export.h"
14 13
15 namespace media { 14 namespace media {
16 15
17 // Measures download speed based on the rate at which a media file is buffering. 16 // Measures download speed based on the rate at which a media file is buffering.
18 // Signals when it believes the media file can be played back without needing to 17 // Signals when it believes the media file can be played back without needing to
19 // pause to buffer. 18 // pause to buffer.
20 class MEDIA_EXPORT DownloadRateMonitor { 19 class MEDIA_EXPORT DownloadRateMonitor {
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 148
150 // True if the data source is a streaming source, false otherwise. 149 // True if the data source is a streaming source, false otherwise.
151 bool streaming_; 150 bool streaming_;
152 151
153 DISALLOW_COPY_AND_ASSIGN(DownloadRateMonitor); 152 DISALLOW_COPY_AND_ASSIGN(DownloadRateMonitor);
154 }; 153 };
155 154
156 } // namespace media 155 } // namespace media
157 156
158 #endif // MEDIA_BASE_DOWNLOAD_RATE_MONITOR_H_ 157 #endif // MEDIA_BASE_DOWNLOAD_RATE_MONITOR_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/device_data_provider.h ('k') | media/base/download_rate_monitor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698