| OLD | NEW |
| 1 // Copyright 2014 The Chromium OS 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 #include "fake_volume_reader.h" | 5 #include "fake_volume_reader.h" |
| 6 | 6 |
| 7 FakeVolumeReader::FakeVolumeReader() {} | 7 FakeVolumeReader::FakeVolumeReader() {} |
| 8 FakeVolumeReader::~FakeVolumeReader() {} | 8 FakeVolumeReader::~FakeVolumeReader() {} |
| 9 | 9 |
| 10 int64_t FakeVolumeReader::Read(int64_t bytes_to_read, | 10 int64_t FakeVolumeReader::Read(int64_t bytes_to_read, |
| 11 const void** destination_buffer) { | 11 const void** destination_buffer) { |
| 12 return 0; // Not important. | 12 return 0; // Not important. |
| 13 } | 13 } |
| 14 | 14 |
| 15 int64_t FakeVolumeReader::Skip(int64_t bytes_to_skip) { | 15 int64_t FakeVolumeReader::Skip(int64_t bytes_to_skip) { |
| 16 return 0; // Not important. | 16 return 0; // Not important. |
| 17 } | 17 } |
| 18 | 18 |
| 19 int64_t FakeVolumeReader::Seek(int64_t offset, int whence) { | 19 int64_t FakeVolumeReader::Seek(int64_t offset, int whence) { |
| 20 return 0; // Not important. | 20 return 0; // Not important. |
| 21 } | 21 } |
| 22 | 22 |
| 23 const char* FakeVolumeReader::Passphrase() { | 23 const char* FakeVolumeReader::Passphrase() { |
| 24 return NULL; // Not important. | 24 return NULL; // Not important. |
| 25 } | 25 } |
| OLD | NEW |