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

Unified Diff: webkit/glue/weburlresponse_extradata_impl.h

Issue 10440014: Correctly whitelist ftp directory listings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: webkit/glue/weburlresponse_extradata_impl.h
diff --git a/webkit/glue/weburlresponse_extradata_impl.h b/webkit/glue/weburlresponse_extradata_impl.h
index 67c5d65b1e324081fa6c237304a8aee85a417d36..e8f8bbacd7c97cf47e8780b972b61d907386dbd7 100644
--- a/webkit/glue/weburlresponse_extradata_impl.h
+++ b/webkit/glue/weburlresponse_extradata_impl.h
@@ -26,9 +26,15 @@ class WEBKIT_GLUE_EXPORT WebURLResponseExtraDataImpl
const std::string& npn_negotiated_protocol() const {
return npn_negotiated_protocol_;
}
+ bool is_ftp_directory_listing() const { return is_ftp_directory_listing_; }
+ void set_is_ftp_directory_listing(bool is_ftp_directory_listing) {
+ is_ftp_directory_listing_ = is_ftp_directory_listing;
+ }
+
private:
std::string npn_negotiated_protocol_;
+ bool is_ftp_directory_listing_;
DISALLOW_COPY_AND_ASSIGN(WebURLResponseExtraDataImpl);
};
« no previous file with comments | « webkit/glue/ftp_directory_listing_response_delegate.cc ('k') | webkit/glue/weburlresponse_extradata_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698