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 | |
6 #ifndef NET_FTP_FTP_CTRL_RESPONSE_BUFFER_H_ | 5 #ifndef NET_FTP_FTP_CTRL_RESPONSE_BUFFER_H_ |
7 #define NET_FTP_FTP_CTRL_RESPONSE_BUFFER_H_ | 6 #define NET_FTP_FTP_CTRL_RESPONSE_BUFFER_H_ |
8 | 7 |
9 #include <queue> | 8 #include <queue> |
10 #include <string> | 9 #include <string> |
11 #include <vector> | 10 #include <vector> |
12 | 11 |
13 #include "base/basictypes.h" | 12 #include "base/macros.h" |
14 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
15 #include "net/log/net_log.h" | 14 #include "net/log/net_log.h" |
16 | 15 |
17 namespace net { | 16 namespace net { |
18 | 17 |
19 struct NET_EXPORT_PRIVATE FtpCtrlResponse { | 18 struct NET_EXPORT_PRIVATE FtpCtrlResponse { |
20 static const int kInvalidStatusCode; | 19 static const int kInvalidStatusCode; |
21 | 20 |
22 FtpCtrlResponse(); | 21 FtpCtrlResponse(); |
23 ~FtpCtrlResponse(); | 22 ~FtpCtrlResponse(); |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 std::queue<FtpCtrlResponse> responses_; | 91 std::queue<FtpCtrlResponse> responses_; |
93 | 92 |
94 BoundNetLog net_log_; | 93 BoundNetLog net_log_; |
95 | 94 |
96 DISALLOW_COPY_AND_ASSIGN(FtpCtrlResponseBuffer); | 95 DISALLOW_COPY_AND_ASSIGN(FtpCtrlResponseBuffer); |
97 }; | 96 }; |
98 | 97 |
99 } // namespace net | 98 } // namespace net |
100 | 99 |
101 #endif // NET_FTP_FTP_CTRL_RESPONSE_BUFFER_H_ | 100 #endif // NET_FTP_FTP_CTRL_RESPONSE_BUFFER_H_ |
OLD | NEW |