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

Side by Side Diff: net/ftp/ftp_ctrl_response_buffer.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_FTP_FTP_CTRL_RESPONSE_BUFFER_H_ 5 #ifndef NET_FTP_FTP_CTRL_RESPONSE_BUFFER_H_
6 #define NET_FTP_FTP_CTRL_RESPONSE_BUFFER_H_ 6 #define NET_FTP_FTP_CTRL_RESPONSE_BUFFER_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
14 #include "net/log/net_log.h" 14 #include "net/log/net_log_with_source.h"
15 15
16 namespace net { 16 namespace net {
17 17
18 struct NET_EXPORT_PRIVATE FtpCtrlResponse { 18 struct NET_EXPORT_PRIVATE FtpCtrlResponse {
19 static const int kInvalidStatusCode; 19 static const int kInvalidStatusCode;
20 20
21 FtpCtrlResponse(); 21 FtpCtrlResponse();
22 FtpCtrlResponse(const FtpCtrlResponse& other); 22 FtpCtrlResponse(const FtpCtrlResponse& other);
23 ~FtpCtrlResponse(); 23 ~FtpCtrlResponse();
24 24
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 std::queue<FtpCtrlResponse> responses_; 93 std::queue<FtpCtrlResponse> responses_;
94 94
95 NetLogWithSource net_log_; 95 NetLogWithSource net_log_;
96 96
97 DISALLOW_COPY_AND_ASSIGN(FtpCtrlResponseBuffer); 97 DISALLOW_COPY_AND_ASSIGN(FtpCtrlResponseBuffer);
98 }; 98 };
99 99
100 } // namespace net 100 } // namespace net
101 101
102 #endif // NET_FTP_FTP_CTRL_RESPONSE_BUFFER_H_ 102 #endif // NET_FTP_FTP_CTRL_RESPONSE_BUFFER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698