OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // A delegate class of WebURLLoaderImpl that handles text/vnd.chromium.ftp-dir | 5 // A delegate class of WebURLLoaderImpl that handles text/vnd.chromium.ftp-dir |
6 // data. | 6 // data. |
7 | 7 |
8 #ifndef WEBKIT_GLUE_FTP_DIRECTORY_LISTING_RESPONSE_DELEGATE_H_ | 8 #ifndef WEBKIT_GLUE_FTP_DIRECTORY_LISTING_RESPONSE_DELEGATE_H_ |
9 #define WEBKIT_GLUE_FTP_DIRECTORY_LISTING_RESPONSE_DELEGATE_H_ | 9 #define WEBKIT_GLUE_FTP_DIRECTORY_LISTING_RESPONSE_DELEGATE_H_ |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "net/ftp/ftp_directory_listing_buffer.h" | 13 #include "net/ftp/ftp_directory_listing_buffer.h" |
14 #include "net/third_party/parseftp/ParseFTPList.h" | 14 #include "net/third_party/parseftp/ParseFTPList.h" |
15 #include "webkit/api/public/WebURLResponse.h" | 15 #include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h" |
16 | 16 |
17 namespace WebKit { | 17 namespace WebKit { |
18 class WebURLLoader; | 18 class WebURLLoader; |
19 class WebURLLoaderClient; | 19 class WebURLLoaderClient; |
20 } | 20 } |
21 | 21 |
22 namespace webkit_glue { | 22 namespace webkit_glue { |
23 | 23 |
24 class FtpDirectoryListingResponseDelegate { | 24 class FtpDirectoryListingResponseDelegate { |
25 public: | 25 public: |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 // Buffer to hold not-yet-parsed input. | 67 // Buffer to hold not-yet-parsed input. |
68 std::string input_buffer_; | 68 std::string input_buffer_; |
69 | 69 |
70 // Buffer to hold response not-yet-sent to the caller. | 70 // Buffer to hold response not-yet-sent to the caller. |
71 std::string response_buffer_; | 71 std::string response_buffer_; |
72 }; | 72 }; |
73 | 73 |
74 } // namespace webkit_glue | 74 } // namespace webkit_glue |
75 | 75 |
76 #endif // WEBKIT_GLUE_FTP_DIRECTORY_LISTING_RESPONSE_DELEGATE_H_ | 76 #endif // WEBKIT_GLUE_FTP_DIRECTORY_LISTING_RESPONSE_DELEGATE_H_ |
OLD | NEW |