file_manager: Fix a bug where hosted documents could not be opened without active...
[chromium-blink-merge.git] / net / base / upload_element.cc
blob6b6438aec266fa75d6bfcd349f4a879d3737e306
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.
5 #include "net/base/upload_element.h"
7 #include <algorithm>
9 #include "net/base/file_stream.h"
10 #include "net/base/net_errors.h"
12 namespace net {
14 UploadElement::UploadElement()
15 : type_(TYPE_BYTES),
16 bytes_start_(NULL),
17 bytes_length_(0),
18 file_range_offset_(0),
19 file_range_length_(kuint64max) {
22 UploadElement::~UploadElement() {
25 } // namespace net