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

Unified Diff: trunk/src/net/url_request/url_request_job_factory.h

Issue 12605011: Revert 188912 "Removed static factories for data, ftp, file, and..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 9 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: trunk/src/net/url_request/url_request_job_factory.h
===================================================================
--- trunk/src/net/url_request/url_request_job_factory.h (revision 188924)
+++ trunk/src/net/url_request/url_request_job_factory.h (working copy)
@@ -30,13 +30,6 @@
virtual URLRequestJob* MaybeCreateJob(
URLRequest* request, NetworkDelegate* network_delegate) const = 0;
-
- // Indicates if it should be safe to redirect to |location|. Should handle
- // protocols handled by MaybeCreateJob(). Only called when registered with
- // URLRequestJobFactoryImpl::SetProtocolHandler() not called when used with
- // ProtocolInterceptJobFactory.
- // NOTE(pauljensen): Default implementation returns true.
- virtual bool IsSafeRedirectTarget(const GURL& location) const;
};
URLRequestJobFactory();
@@ -51,8 +44,6 @@
virtual bool IsHandledURL(const GURL& url) const = 0;
- virtual bool IsSafeRedirectTarget(const GURL& location) const = 0;
-
private:
DISALLOW_COPY_AND_ASSIGN(URLRequestJobFactory);
};
« no previous file with comments | « trunk/src/net/url_request/url_request_http_job.cc ('k') | trunk/src/net/url_request/url_request_job_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698