OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |