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

Unified Diff: net/url_request/url_request_job_factory.h

Issue 11227017: Remove the mutation functions interfaces from URLRequestJobFactory. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix Android Webview interfaces; also a long awaited rebase. Created 7 years, 10 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
« no previous file with comments | « net/url_request/protocol_intercept_job_factory.cc ('k') | net/url_request/url_request_job_factory_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_job_factory.h
diff --git a/net/url_request/url_request_job_factory.h b/net/url_request/url_request_job_factory.h
index adff7f1d818ef46c679d2b93d53aa6dbe503feeb..ca234a37da4898bfaa724a6a6b977041a1d2c91d 100644
--- a/net/url_request/url_request_job_factory.h
+++ b/net/url_request/url_request_job_factory.h
@@ -74,18 +74,6 @@ class NET_EXPORT URLRequestJobFactory
URLRequestJobFactory();
virtual ~URLRequestJobFactory();
- // TODO(shalev): Remove this from the interface.
- // Sets the ProtocolHandler for a scheme. Returns true on success, false on
- // failure (a ProtocolHandler already exists for |scheme|). On success,
- // URLRequestJobFactory takes ownership of |protocol_handler|.
- virtual bool SetProtocolHandler(const std::string& scheme,
- ProtocolHandler* protocol_handler) = 0;
-
- // TODO(shalev): Remove this from the interface.
- // Takes ownership of |interceptor|. Adds it to the end of the Interceptor
- // list.
- virtual void AddInterceptor(Interceptor* interceptor) = 0;
-
// TODO(shalev): Consolidate MaybeCreateJobWithInterceptor and
// MaybeCreateJobWithProtocolHandler into a single method.
virtual URLRequestJob* MaybeCreateJobWithInterceptor(
« no previous file with comments | « net/url_request/protocol_intercept_job_factory.cc ('k') | net/url_request/url_request_job_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698