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

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

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « net/url_request/url_request_data_job.h ('k') | net/url_request/url_request_file_dir_job.h » ('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) 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 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 10
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "net/base/net_export.h" 12 #include "net/base/net_export.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 {
16 16
17 class NET_EXPORT URLRequestErrorJob : public URLRequestJob { 17 class NET_EXPORT URLRequestErrorJob : public URLRequestJob {
18 public: 18 public:
19 URLRequestErrorJob(URLRequest* request, 19 URLRequestErrorJob(URLRequest* request,
20 NetworkDelegate* network_delegate, 20 NetworkDelegate* network_delegate,
21 int error); 21 int error);
22 22
23 virtual void Start() OVERRIDE; 23 virtual void Start() override;
24 24
25 private: 25 private:
26 virtual ~URLRequestErrorJob(); 26 virtual ~URLRequestErrorJob();
27 27
28 void StartAsync(); 28 void StartAsync();
29 29
30 int error_; 30 int error_;
31 31
32 base::WeakPtrFactory<URLRequestErrorJob> weak_factory_; 32 base::WeakPtrFactory<URLRequestErrorJob> weak_factory_;
33 }; 33 };
34 34
35 } // namespace net 35 } // namespace net
36 36
37 #endif // NET_URL_REQUEST_URL_REQUEST_ERROR_JOB_H_ 37 #endif // NET_URL_REQUEST_URL_REQUEST_ERROR_JOB_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_data_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