OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 SERVICES_MEDIA_FRAMEWORK_PARTS_READER_H_ | 5 #ifndef SERVICES_MEDIA_FRAMEWORK_PARTS_READER_H_ |
6 #define SERVICES_MEDIA_FRAMEWORK_PARTS_READER_H_ | 6 #define SERVICES_MEDIA_FRAMEWORK_PARTS_READER_H_ |
7 | 7 |
8 #include <limits> | 8 #include <limits> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 // isn't known. | 44 // isn't known. |
45 virtual size_t GetSize() const = 0; | 45 virtual size_t GetSize() const = 0; |
46 | 46 |
47 // Returns true if this object supports seeking, false otherwise. | 47 // Returns true if this object supports seeking, false otherwise. |
48 virtual bool CanSeek() const = 0; | 48 virtual bool CanSeek() const = 0; |
49 }; | 49 }; |
50 | 50 |
51 } // namespace media | 51 } // namespace media |
52 } // namespace mojo | 52 } // namespace mojo |
53 | 53 |
54 #endif // MOJO_SERVICES_MEDIA_READER_H_ | 54 #endif // MOJO_SERVICES_MEDIA_READER_H_ |
OLD | NEW |