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

Unified Diff: net/url_request/url_request_error_job.cc

Issue 5863001: net: Add namespace net to URLRequestErrorJob. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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/url_request_error_job.h ('k') | net/url_request/url_request_job_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_error_job.cc
diff --git a/net/url_request/url_request_error_job.cc b/net/url_request/url_request_error_job.cc
index c8f350b37f8508fe1018f41428cbd879c6bd5d74..c69e3f57733062840c91fe05b4b61e0509a32d46 100644
--- a/net/url_request/url_request_error_job.cc
+++ b/net/url_request/url_request_error_job.cc
@@ -8,8 +8,10 @@
#include "net/base/net_errors.h"
#include "net/url_request/url_request_status.h"
-URLRequestErrorJob::URLRequestErrorJob(net::URLRequest* request, int error)
- : net::URLRequestJob(request), error_(error) {
+namespace net {
+
+URLRequestErrorJob::URLRequestErrorJob(URLRequest* request, int error)
+ : URLRequestJob(request), error_(error) {
}
void URLRequestErrorJob::Start() {
@@ -20,3 +22,5 @@ void URLRequestErrorJob::Start() {
void URLRequestErrorJob::StartAsync() {
NotifyStartError(URLRequestStatus(URLRequestStatus::FAILED, error_));
}
+
+} // namespace net
« no previous file with comments | « net/url_request/url_request_error_job.h ('k') | net/url_request/url_request_job_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698