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

Side by Side Diff: net/url_request/url_request_error_job.h

Issue 5607004: net: Remove typedef net::URLRequestJob URLRequestJob; (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/url_request/url_request_data_job.cc ('k') | net/url_request/url_request_error_job.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 URLRequestJob class rather than being passed 5 // Invalid URLs go through this net::URLRequestJob class rather than being
6 // 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 "net/url_request/url_request_job.h" 12 #include "net/url_request/url_request_job.h"
13 13
14 class URLRequestErrorJob : public URLRequestJob { 14 class URLRequestErrorJob : public net::URLRequestJob {
15 public: 15 public:
16 URLRequestErrorJob(net::URLRequest* request, int error); 16 URLRequestErrorJob(net::URLRequest* request, int error);
17 17
18 virtual void Start(); 18 virtual void Start();
19 19
20 private: 20 private:
21 ~URLRequestErrorJob() {} 21 ~URLRequestErrorJob() {}
22 22
23 void StartAsync(); 23 void StartAsync();
24 24
25 int error_; 25 int error_;
26 }; 26 };
27 27
28 #endif // NET_URL_REQUEST_URL_REQUEST_ERROR_JOB_H_ 28 #endif // NET_URL_REQUEST_URL_REQUEST_ERROR_JOB_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_data_job.cc ('k') | net/url_request/url_request_error_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698