[email protected] | d9896165 | 2012-09-11 20:27:21 | [diff] [blame] | 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 | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #include "net/base/upload_element_reader.h" | ||||
6 | |||||
[email protected] | d9896165 | 2012-09-11 20:27:21 | [diff] [blame] | 7 | namespace net { |
8 | |||||
[email protected] | 0736d9e | 2012-11-28 19:50:40 | [diff] [blame] | 9 | const UploadBytesElementReader* UploadElementReader::AsBytesReader() const { |
gavinp | 9668ba5c | 2015-06-19 01:01:04 | [diff] [blame] | 10 | return nullptr; |
[email protected] | 0736d9e | 2012-11-28 19:50:40 | [diff] [blame] | 11 | } |
12 | |||||
13 | const UploadFileElementReader* UploadElementReader::AsFileReader() const { | ||||
gavinp | 9668ba5c | 2015-06-19 01:01:04 | [diff] [blame] | 14 | return nullptr; |
[email protected] | 0736d9e | 2012-11-28 19:50:40 | [diff] [blame] | 15 | } |
16 | |||||
[email protected] | d9896165 | 2012-09-11 20:27:21 | [diff] [blame] | 17 | bool UploadElementReader::IsInMemory() const { |
18 | return false; | ||||
19 | } | ||||
20 | |||||
[email protected] | d9896165 | 2012-09-11 20:27:21 | [diff] [blame] | 21 | } // namespace net |