| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | 4 // |
| 5 // Invalid URLs go through this net::URLRequestJob class rather than being | 5 // Invalid URLs go through this URLRequestJob class rather than being |
| 6 // passed to the default job handler. | 6 // passed to the default job handler. |
| 7 | 7 |
| 8 #ifndef NET_URL_REQUEST_URL_REQUEST_ERROR_JOB_H_ | 8 #ifndef NET_URL_REQUEST_URL_REQUEST_ERROR_JOB_H_ |
| 9 #define NET_URL_REQUEST_URL_REQUEST_ERROR_JOB_H_ | 9 #define NET_URL_REQUEST_URL_REQUEST_ERROR_JOB_H_ |
| 10 #pragma once | 10 #pragma once |
| 11 | 11 |
| 12 #include "base/task.h" | 12 #include "base/task.h" |
| 13 #include "net/url_request/url_request_job.h" | 13 #include "net/url_request/url_request_job.h" |
| 14 | 14 |
| 15 namespace net { | 15 namespace net { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 26 void StartAsync(); | 26 void StartAsync(); |
| 27 | 27 |
| 28 int error_; | 28 int error_; |
| 29 | 29 |
| 30 ScopedRunnableMethodFactory<URLRequestErrorJob> method_factory_; | 30 ScopedRunnableMethodFactory<URLRequestErrorJob> method_factory_; |
| 31 }; | 31 }; |
| 32 | 32 |
| 33 } // namespace net | 33 } // namespace net |
| 34 | 34 |
| 35 #endif // NET_URL_REQUEST_URL_REQUEST_ERROR_JOB_H_ | 35 #endif // NET_URL_REQUEST_URL_REQUEST_ERROR_JOB_H_ |
| OLD | NEW |