diff options
author | dcheng <dcheng@chromium.org> | 2014-10-21 05:00:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-21 12:00:44 +0000 |
commit | b03027d238812b84860eaa4608df71442748c44d (patch) | |
tree | 1e1406538a891030ddaeb3daf61640e59d02a052 /net/url_request/url_request_test_job.h | |
parent | e59c1bb95b7f2f381d6a0c38c6f6f1c9a89c4ed4 (diff) | |
download | chromium_src-b03027d238812b84860eaa4608df71442748c44d.zip chromium_src-b03027d238812b84860eaa4608df71442748c44d.tar.gz chromium_src-b03027d238812b84860eaa4608df71442748c44d.tar.bz2 |
Standardize usage of virtual/override/final in net/
This patch was automatically generated by applying clang fixit hints
generated by the plugin to the source tree.
BUG=417463
TBR=rsleevi@chromium.org
Review URL: https://codereview.chromium.org/667923003
Cr-Commit-Position: refs/heads/master@{#300466}
Diffstat (limited to 'net/url_request/url_request_test_job.h')
-rw-r--r-- | net/url_request/url_request_test_job.h | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/net/url_request/url_request_test_job.h b/net/url_request/url_request_test_job.h index f0f26fd..fbdbe0f 100644 --- a/net/url_request/url_request_test_job.h +++ b/net/url_request/url_request_test_job.h @@ -108,19 +108,15 @@ class NET_EXPORT_PRIVATE URLRequestTestJob : public URLRequestJob { static URLRequestJobFactory::ProtocolHandler* CreateProtocolHandler(); // Job functions - virtual void SetPriority(RequestPriority priority) override; - virtual void Start() override; - virtual bool ReadRawData(IOBuffer* buf, - int buf_size, - int *bytes_read) override; - virtual void Kill() override; - virtual bool GetMimeType(std::string* mime_type) const override; - virtual void GetResponseInfo(HttpResponseInfo* info) override; - virtual void GetLoadTimingInfo( - LoadTimingInfo* load_timing_info) const override; - virtual int GetResponseCode() const override; - virtual bool IsRedirectResponse(GURL* location, - int* http_status_code) override; + void SetPriority(RequestPriority priority) override; + void Start() override; + bool ReadRawData(IOBuffer* buf, int buf_size, int* bytes_read) override; + void Kill() override; + bool GetMimeType(std::string* mime_type) const override; + void GetResponseInfo(HttpResponseInfo* info) override; + void GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; + int GetResponseCode() const override; + bool IsRedirectResponse(GURL* location, int* http_status_code) override; protected: // Override to specify whether the next read done from this job will @@ -133,7 +129,7 @@ class NET_EXPORT_PRIVATE URLRequestTestJob : public URLRequestJob { // When the stage is DONE, this job will not be put on the queue. enum Stage { WAITING, DATA_AVAILABLE, ALL_DATA, DONE }; - virtual ~URLRequestTestJob(); + ~URLRequestTestJob() override; // Call to process the next opeation, usually sending a notification, and // advancing the stage if necessary. THIS MAY DELETE THE OBJECT. |