| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "media/bench/file_protocol.h" | 5 #include "media/tools/media_bench/file_protocol.h" |
| 6 | 6 |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 | 8 |
| 9 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
| 10 #include <io.h> | 10 #include <io.h> |
| 11 #else | 11 #else |
| 12 #include <unistd.h> | 12 #include <unistd.h> |
| 13 #endif | 13 #endif |
| 14 #include <fcntl.h> | 14 #include <fcntl.h> |
| 15 | 15 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 &OpenContext, | 75 &OpenContext, |
| 76 &ReadContext, | 76 &ReadContext, |
| 77 &WriteContext, | 77 &WriteContext, |
| 78 &SeekContext, | 78 &SeekContext, |
| 79 &CloseContext, | 79 &CloseContext, |
| 80 NULL, // *next | 80 NULL, // *next |
| 81 NULL, // url_read_pause | 81 NULL, // url_read_pause |
| 82 NULL, // url_read_seek | 82 NULL, // url_read_seek |
| 83 &GetHandle | 83 &GetHandle |
| 84 }; | 84 }; |
| 85 | |
| OLD | NEW |