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

Unified Diff: trunk/src/net/url_request/url_request_about_job.cc

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
« no previous file with comments | « trunk/src/net/url_request/url_request_about_job.h ('k') | trunk/src/net/url_request/url_request_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/url_request/url_request_about_job.cc
===================================================================
--- trunk/src/net/url_request/url_request_about_job.cc (revision 188924)
+++ trunk/src/net/url_request/url_request_about_job.cc (working copy)
@@ -20,6 +20,13 @@
ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) {
}
+// static
+URLRequestJob* URLRequestAboutJob::Factory(URLRequest* request,
+ NetworkDelegate* network_delegate,
+ const std::string& scheme) {
+ return new URLRequestAboutJob(request, network_delegate);
+}
+
void URLRequestAboutJob::Start() {
// Start reading asynchronously so that all error reporting and data
// callbacks happen as they would for network requests.
« no previous file with comments | « trunk/src/net/url_request/url_request_about_job.h ('k') | trunk/src/net/url_request/url_request_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698