| 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 "base/logging.h" | 5 #include "base/logging.h" |
| 6 #include "services/media/framework/parts/file_reader.h" | 6 #include "services/media/framework/parts/file_reader.h" |
| 7 #include "services/media/framework/parts/reader.h" | 7 #include "services/media/framework/parts/reader.h" |
| 8 #include "url/gurl.h" | 8 #include "url/gurl.h" |
| 9 | 9 |
| 10 namespace mojo { | 10 namespace mojo { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 } | 26 } |
| 27 | 27 |
| 28 Result result = reader->Init(gurl); | 28 Result result = reader->Init(gurl); |
| 29 if (result == Result::kOk) { | 29 if (result == Result::kOk) { |
| 30 *reader_out = reader; | 30 *reader_out = reader; |
| 31 } | 31 } |
| 32 | 32 |
| 33 return result; | 33 return result; |
| 34 } | 34 } |
| 35 | 35 |
| 36 } // namespace media | 36 } // namespace media |
| 37 } // namespace mojo | 37 } // namespace mojo |
| OLD | NEW |