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

Side by Side Diff: net/base/upload_data_stream.h

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 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
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 #ifndef NET_BASE_UPLOAD_DATA_STREAM_H_ 5 #ifndef NET_BASE_UPLOAD_DATA_STREAM_H_
6 #define NET_BASE_UPLOAD_DATA_STREAM_H_ 6 #define NET_BASE_UPLOAD_DATA_STREAM_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "net/base/completion_callback.h" 14 #include "net/base/completion_callback.h"
15 #include "net/base/net_export.h" 15 #include "net/base/net_export.h"
16 #include "net/base/upload_progress.h" 16 #include "net/base/upload_progress.h"
17 #include "net/log/net_log.h" 17 #include "net/log/net_log_with_source.h"
18 18
19 namespace net { 19 namespace net {
20 20
21 class DrainableIOBuffer; 21 class DrainableIOBuffer;
22 class IOBuffer; 22 class IOBuffer;
23 class UploadElementReader; 23 class UploadElementReader;
24 24
25 // A class for retrieving all data to be sent as a request body. Supports both 25 // A class for retrieving all data to be sent as a request body. Supports both
26 // chunked and non-chunked uploads. 26 // chunked and non-chunked uploads.
27 class NET_EXPORT UploadDataStream { 27 class NET_EXPORT UploadDataStream {
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 CompletionCallback callback_; 143 CompletionCallback callback_;
144 144
145 NetLogWithSource net_log_; 145 NetLogWithSource net_log_;
146 146
147 DISALLOW_COPY_AND_ASSIGN(UploadDataStream); 147 DISALLOW_COPY_AND_ASSIGN(UploadDataStream);
148 }; 148 };
149 149
150 } // namespace net 150 } // namespace net
151 151
152 #endif // NET_BASE_UPLOAD_DATA_STREAM_H_ 152 #endif // NET_BASE_UPLOAD_DATA_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698