Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Side by Side Diff: net/base/upload_element.cc

Issue 14820034: Cleanup: Remove unneeded base/file_util.h includes in chrome_frame, courgette, ipc, media, and net. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: fix build Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/base/sdch_filter.cc ('k') | net/disk_cache/block_files.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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.h" 5 #include "net/base/upload_element.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/file_util.h"
10 #include "base/threading/thread_restrictions.h"
11 #include "net/base/file_stream.h" 9 #include "net/base/file_stream.h"
12 #include "net/base/net_errors.h" 10 #include "net/base/net_errors.h"
13 11
14 namespace net { 12 namespace net {
15 13
16 UploadElement::UploadElement() 14 UploadElement::UploadElement()
17 : type_(TYPE_BYTES), 15 : type_(TYPE_BYTES),
18 bytes_start_(NULL), 16 bytes_start_(NULL),
19 bytes_length_(0), 17 bytes_length_(0),
20 file_range_offset_(0), 18 file_range_offset_(0),
21 file_range_length_(kuint64max) { 19 file_range_length_(kuint64max) {
22 } 20 }
23 21
24 UploadElement::~UploadElement() { 22 UploadElement::~UploadElement() {
25 } 23 }
26 24
27 } // namespace net 25 } // namespace net
OLDNEW
« no previous file with comments | « net/base/sdch_filter.cc ('k') | net/disk_cache/block_files.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698