OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "net/base/upload_element_reader.h" | 5 #include "net/base/upload_element_reader.h" |
6 | 6 |
7 namespace net { | 7 namespace net { |
8 | 8 |
9 const UploadBytesElementReader* UploadElementReader::AsBytesReader() const { | 9 const UploadBytesElementReader* UploadElementReader::AsBytesReader() const { |
10 return NULL; | 10 return NULL; |
11 } | 11 } |
12 | 12 |
| 13 const UploadDiskCacheEntryElementReader* |
| 14 UploadElementReader::AsDiskCacheEntryReader() const { |
| 15 return nullptr; |
| 16 } |
| 17 |
13 const UploadFileElementReader* UploadElementReader::AsFileReader() const { | 18 const UploadFileElementReader* UploadElementReader::AsFileReader() const { |
14 return NULL; | 19 return NULL; |
15 } | 20 } |
16 | 21 |
17 bool UploadElementReader::IsInMemory() const { | 22 bool UploadElementReader::IsInMemory() const { |
18 return false; | 23 return false; |
19 } | 24 } |
20 | 25 |
21 } // namespace net | 26 } // namespace net |
OLD | NEW |