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 #include <cstdio> | 5 #include <cstdio> |
6 | 6 |
7 #include "base/files/file_util.h" | 7 #include "base/files/file_util.h" |
8 #include "services/media/framework/parts/file_reader.h" | 8 #include "services/media/framework/parts/file_reader.h" |
9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
10 | 10 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 } | 60 } |
61 | 61 |
62 size_t FileReader::GetSize() const { | 62 size_t FileReader::GetSize() const { |
63 return size_; | 63 return size_; |
64 } | 64 } |
65 | 65 |
66 bool FileReader::CanSeek() const { | 66 bool FileReader::CanSeek() const { |
67 return true; | 67 return true; |
68 } | 68 } |
69 | 69 |
70 } // namespace media | 70 } // namespace media |
71 } // namespace mojo | 71 } // namespace mojo |
OLD | NEW |