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

Unified Diff: net/url_request/data_protocol_handler.cc

Issue 10703089: Replaced static URLRequestDataJob factory with protocol handler for Data jobs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed Include Created 8 years, 5 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/data_protocol_handler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/data_protocol_handler.cc
diff --git a/net/url_request/data_protocol_handler.cc b/net/url_request/data_protocol_handler.cc
new file mode 100644
index 0000000000000000000000000000000000000000..3ad5e21a8fe750fabb0eec9015c097de9e622b21
--- /dev/null
+++ b/net/url_request/data_protocol_handler.cc
@@ -0,0 +1,19 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "net/url_request/data_protocol_handler.h"
+
+#include "net/url_request/url_request_data_job.h"
+
+namespace net {
+
+DataProtocolHandler::DataProtocolHandler() {
+}
+
+URLRequestJob* DataProtocolHandler::MaybeCreateJob(
+ URLRequest* request) const {
+ return new URLRequestDataJob(request);
+}
+
+} // namespace net
« no previous file with comments | « net/url_request/data_protocol_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698