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

Side by Side Diff: content/browser/loader/upload_data_stream_builder.cc

Issue 2443103003: Remove unused include in sequenced_worker_pool.h (Closed)
Patch Set: and more ios/chromeos Created 4 years, 1 month 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "content/browser/loader/upload_data_stream_builder.h" 5 #include "content/browser/loader/upload_data_stream_builder.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <limits> 9 #include <limits>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ptr_util.h" 15 #include "base/memory/ptr_util.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "base/single_thread_task_runner.h"
Charlie Harrison 2016/11/01 02:53:35 I'm not sure why this can't be a fwd-decl. There's
gab 2016/11/01 13:30:58 It's subtle but there is, in UploadDataStreamBuild
17 #include "content/browser/fileapi/upload_file_system_file_element_reader.h" 18 #include "content/browser/fileapi/upload_file_system_file_element_reader.h"
18 #include "content/common/resource_request_body_impl.h" 19 #include "content/common/resource_request_body_impl.h"
19 #include "net/base/elements_upload_data_stream.h" 20 #include "net/base/elements_upload_data_stream.h"
20 #include "net/base/upload_bytes_element_reader.h" 21 #include "net/base/upload_bytes_element_reader.h"
21 #include "net/base/upload_file_element_reader.h" 22 #include "net/base/upload_file_element_reader.h"
22 #include "storage/browser/blob/blob_data_handle.h" 23 #include "storage/browser/blob/blob_data_handle.h"
23 #include "storage/browser/blob/blob_reader.h" 24 #include "storage/browser/blob/blob_reader.h"
24 #include "storage/browser/blob/blob_storage_context.h" 25 #include "storage/browser/blob/blob_storage_context.h"
25 #include "storage/browser/blob/upload_blob_element_reader.h" 26 #include "storage/browser/blob/upload_blob_element_reader.h"
26 27
28 namespace base {
29 class TaskRunner;
30 }
31
27 namespace disk_cache { 32 namespace disk_cache {
28 class Entry; 33 class Entry;
29 } 34 }
30 35
31 namespace content { 36 namespace content {
32 namespace { 37 namespace {
33 38
34 // A subclass of net::UploadBytesElementReader which owns 39 // A subclass of net::UploadBytesElementReader which owns
35 // ResourceRequestBodyImpl. 40 // ResourceRequestBodyImpl.
36 class BytesElementReader : public net::UploadBytesElementReader { 41 class BytesElementReader : public net::UploadBytesElementReader {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 NOTREACHED(); 124 NOTREACHED();
120 break; 125 break;
121 } 126 }
122 } 127 }
123 128
124 return base::MakeUnique<net::ElementsUploadDataStream>( 129 return base::MakeUnique<net::ElementsUploadDataStream>(
125 std::move(element_readers), body->identifier()); 130 std::move(element_readers), body->identifier());
126 } 131 }
127 132
128 } // namespace content 133 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/devtools/protocol/tethering_handler.h ('k') | content/child/fileapi/webfilewriter_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698