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

Unified Diff: net/url_request/url_request_context_builder.h

Issue 11931024: Removed static factories for data, ftp, file, and about jobs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 7 years, 11 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: net/url_request/url_request_context_builder.h
diff --git a/net/url_request/url_request_context_builder.h b/net/url_request/url_request_context_builder.h
index fd21f8a62fe3a587017b08b9a5f998da6a519552..108076f8ce2b31c9e4436cd0579d3bab3b6e4844 100644
--- a/net/url_request/url_request_context_builder.h
+++ b/net/url_request/url_request_context_builder.h
@@ -85,11 +85,6 @@ class NET_EXPORT URLRequestContextBuilder {
user_agent_ = user_agent;
}
- // By default it's disabled.
- void set_ftp_enabled(bool enable) {
- ftp_enabled_ = enable;
- }
-
// Uses BasicNetworkDelegate by default. Note that calling Build will unset
// any custom delegate in builder, so this must be called each time before
// Build is called.
@@ -118,7 +113,6 @@ class NET_EXPORT URLRequestContextBuilder {
std::string accept_language_;
std::string accept_charset_;
std::string user_agent_;
- bool ftp_enabled_;
bool http_cache_enabled_;
HttpCacheParams http_cache_params_;
HttpNetworkSessionParams http_network_session_params_;

Powered by Google App Engine
This is Rietveld 408576698