Add signalSyncPoint to the WebGraphicsContext3D command buffer impls.
[chromium-blink-merge.git] / net / base / upload_element.cc
blobfd7df78dc218ec3390ed7476e491441077f631bb
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 "base/file_util.h"
10 #include "base/threading/thread_restrictions.h"
11 #include "net/base/file_stream.h"
12 #include "net/base/net_errors.h"
14 namespace net {
16 UploadElement::UploadElement()
17 : type_(TYPE_BYTES),
18 bytes_start_(NULL),
19 bytes_length_(0),
20 file_range_offset_(0),
21 file_range_length_(kuint64max) {
24 UploadElement::~UploadElement() {
27 } // namespace net