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

Unified Diff: net/url_request/url_request_error_job.cc

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | « net/url_request/url_request_error_job.h ('k') | net/url_request/url_request_file_dir_job.h » ('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
deleted file mode 100644
index 0b2749bd93380b748c254b30fad193847bef9172..0000000000000000000000000000000000000000
--- a/net/url_request/url_request_error_job.cc
+++ /dev/null
@@ -1,33 +0,0 @@
-// 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/url_request_error_job.h"
-
-#include "base/bind.h"
-#include "base/compiler_specific.h"
-#include "base/message_loop/message_loop.h"
-#include "net/base/net_errors.h"
-#include "net/url_request/url_request_status.h"
-
-namespace net {
-
-URLRequestErrorJob::URLRequestErrorJob(
- URLRequest* request, NetworkDelegate* network_delegate, int error)
- : URLRequestJob(request, network_delegate),
- error_(error),
- weak_factory_(this) {}
-
-URLRequestErrorJob::~URLRequestErrorJob() {}
-
-void URLRequestErrorJob::Start() {
- base::MessageLoop::current()->PostTask(
- FROM_HERE,
- base::Bind(&URLRequestErrorJob::StartAsync, weak_factory_.GetWeakPtr()));
-}
-
-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_file_dir_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698