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

Side by Side Diff: net/url_request/url_request_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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef NET_URL_REQUEST_URL_REQUEST_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_JOB_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // These methods are not applicable to all connections. 212 // These methods are not applicable to all connections.
213 virtual bool GetMimeType(std::string* mime_type) const; 213 virtual bool GetMimeType(std::string* mime_type) const;
214 virtual int GetResponseCode() const; 214 virtual int GetResponseCode() const;
215 215
216 // Returns the socket address for the connection. 216 // Returns the socket address for the connection.
217 // See url_request.h for details. 217 // See url_request.h for details.
218 virtual HostPortPair GetSocketAddress() const; 218 virtual HostPortPair GetSocketAddress() const;
219 219
220 // base::PowerObserver methods: 220 // base::PowerObserver methods:
221 // We invoke URLRequestJob::Kill on suspend (crbug.com/4606). 221 // We invoke URLRequestJob::Kill on suspend (crbug.com/4606).
222 virtual void OnSuspend() OVERRIDE; 222 virtual void OnSuspend() override;
223 223
224 // Called after a NetworkDelegate has been informed that the URLRequest 224 // Called after a NetworkDelegate has been informed that the URLRequest
225 // will be destroyed. This is used to track that no pending callbacks 225 // will be destroyed. This is used to track that no pending callbacks
226 // exist at destruction time of the URLRequestJob, unless they have been 226 // exist at destruction time of the URLRequestJob, unless they have been
227 // canceled by an explicit NetworkDelegate::NotifyURLRequestDestroyed() call. 227 // canceled by an explicit NetworkDelegate::NotifyURLRequestDestroyed() call.
228 virtual void NotifyURLRequestDestroyed(); 228 virtual void NotifyURLRequestDestroyed();
229 229
230 protected: 230 protected:
231 friend class base::RefCounted<URLRequestJob>; 231 friend class base::RefCounted<URLRequestJob>;
232 virtual ~URLRequestJob(); 232 virtual ~URLRequestJob();
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 NetworkDelegate* network_delegate_; 430 NetworkDelegate* network_delegate_;
431 431
432 base::WeakPtrFactory<URLRequestJob> weak_factory_; 432 base::WeakPtrFactory<URLRequestJob> weak_factory_;
433 433
434 DISALLOW_COPY_AND_ASSIGN(URLRequestJob); 434 DISALLOW_COPY_AND_ASSIGN(URLRequestJob);
435 }; 435 };
436 436
437 } // namespace net 437 } // namespace net
438 438
439 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_H_ 439 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_intercepting_job_factory.h ('k') | net/url_request/url_request_job_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698