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

Side by Side Diff: media/blink/buffered_data_source_host_impl.h

Issue 1430063003: use MEDIA_BLINK_EXPORT in media/blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no (c) Created 5 years, 1 month 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
« no previous file with comments | « media/blink/buffered_data_source.h ('k') | media/blink/buffered_resource_loader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BLINK_BUFFERED_DATA_SOURCE_HOST_IMPL_H_ 5 #ifndef MEDIA_BLINK_BUFFERED_DATA_SOURCE_HOST_IMPL_H_
6 #define MEDIA_BLINK_BUFFERED_DATA_SOURCE_HOST_IMPL_H_ 6 #define MEDIA_BLINK_BUFFERED_DATA_SOURCE_HOST_IMPL_H_
7 7
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "media/base/media_export.h"
10 #include "media/base/ranges.h" 9 #include "media/base/ranges.h"
11 #include "media/blink/buffered_data_source.h" 10 #include "media/blink/buffered_data_source.h"
11 #include "media/blink/media_blink_export.h"
12 12
13 namespace media { 13 namespace media {
14 14
15 // Provides an implementation of BufferedDataSourceHost that translates the 15 // Provides an implementation of BufferedDataSourceHost that translates the
16 // buffered byte ranges into estimated time ranges. 16 // buffered byte ranges into estimated time ranges.
17 class MEDIA_EXPORT BufferedDataSourceHostImpl 17 class MEDIA_BLINK_EXPORT BufferedDataSourceHostImpl
18 : public BufferedDataSourceHost { 18 : public BufferedDataSourceHost {
19 public: 19 public:
20 BufferedDataSourceHostImpl(); 20 BufferedDataSourceHostImpl();
21 ~BufferedDataSourceHostImpl() override; 21 ~BufferedDataSourceHostImpl() override;
22 22
23 // BufferedDataSourceHost implementation. 23 // BufferedDataSourceHost implementation.
24 void SetTotalBytes(int64 total_bytes) override; 24 void SetTotalBytes(int64 total_bytes) override;
25 void AddBufferedByteRange(int64 start, int64 end) override; 25 void AddBufferedByteRange(int64 start, int64 end) override;
26 26
27 // Translate the byte ranges to time ranges and append them to the list. 27 // Translate the byte ranges to time ranges and append them to the list.
(...skipping 14 matching lines...) Expand all
42 // True when AddBufferedByteRange() has been called more recently than 42 // True when AddBufferedByteRange() has been called more recently than
43 // DidLoadingProgress(). 43 // DidLoadingProgress().
44 bool did_loading_progress_; 44 bool did_loading_progress_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(BufferedDataSourceHostImpl); 46 DISALLOW_COPY_AND_ASSIGN(BufferedDataSourceHostImpl);
47 }; 47 };
48 48
49 } // namespace media 49 } // namespace media
50 50
51 #endif // MEDIA_BLINK_BUFFERED_DATA_SOURCE_HOST_IMPL_H_ 51 #endif // MEDIA_BLINK_BUFFERED_DATA_SOURCE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « media/blink/buffered_data_source.h ('k') | media/blink/buffered_resource_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698