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 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 WebKit::WebURLResponse original_response_; | 54 WebKit::WebURLResponse original_response_; |
55 | 55 |
56 // Data buffer also responsible for parsing the listing data. | 56 // Data buffer also responsible for parsing the listing data. |
57 net::FtpDirectoryListingBuffer buffer_; | 57 net::FtpDirectoryListingBuffer buffer_; |
58 | 58 |
59 // True if we updated histogram data (we only want to do it once). | 59 // True if we updated histogram data (we only want to do it once). |
60 bool updated_histograms_; | 60 bool updated_histograms_; |
61 | 61 |
62 // True if we got an error when parsing the response. | 62 // True if we got an error when parsing the response. |
63 bool had_parsing_error_; | 63 bool had_parsing_error_; |
| 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(FtpDirectoryListingResponseDelegate); |
64 }; | 66 }; |
65 | 67 |
66 } // namespace webkit_glue | 68 } // namespace webkit_glue |
67 | 69 |
68 #endif // WEBKIT_GLUE_FTP_DIRECTORY_LISTING_RESPONSE_DELEGATE_H_ | 70 #endif // WEBKIT_GLUE_FTP_DIRECTORY_LISTING_RESPONSE_DELEGATE_H_ |
OLD | NEW |