diff options
author | dcheng <dcheng@chromium.org> | 2014-10-21 05:07:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-21 12:08:25 +0000 |
commit | c2282aa89148883769f87c74cc3c4608c0933489 (patch) | |
tree | ffa48a41ac574fc701cac64f5457dfc08d2c0c27 /content/browser/webui/url_data_manager_backend.cc | |
parent | c793742b02142aed967568c48def709d6d16bd38 (diff) | |
download | chromium_src-c2282aa89148883769f87c74cc3c4608c0933489.zip chromium_src-c2282aa89148883769f87c74cc3c4608c0933489.tar.gz chromium_src-c2282aa89148883769f87c74cc3c4608c0933489.tar.bz2 |
Standardize usage of virtual/override/final in content/browser/
This patch was automatically generated by applying clang fixit hints
generated by the plugin to the source tree.
BUG=417463
TBR=sky@chromium.org
Review URL: https://codereview.chromium.org/667943003
Cr-Commit-Position: refs/heads/master@{#300469}
Diffstat (limited to 'content/browser/webui/url_data_manager_backend.cc')
-rw-r--r-- | content/browser/webui/url_data_manager_backend.cc | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/content/browser/webui/url_data_manager_backend.cc b/content/browser/webui/url_data_manager_backend.cc index 8c21673c..9e12864 100644 --- a/content/browser/webui/url_data_manager_backend.cc +++ b/content/browser/webui/url_data_manager_backend.cc @@ -119,14 +119,12 @@ class URLRequestChromeJob : public net::URLRequestJob, bool is_incognito); // net::URLRequestJob implementation. - virtual void Start() override; - virtual void Kill() override; - virtual bool ReadRawData(net::IOBuffer* buf, - int buf_size, - int* bytes_read) override; - virtual bool GetMimeType(std::string* mime_type) const override; - virtual int GetResponseCode() const override; - virtual void GetResponseInfo(net::HttpResponseInfo* info) override; + void Start() override; + void Kill() override; + bool ReadRawData(net::IOBuffer* buf, int buf_size, int* bytes_read) override; + bool GetMimeType(std::string* mime_type) const override; + int GetResponseCode() const override; + void GetResponseInfo(net::HttpResponseInfo* info) override; // Used to notify that the requested data's |mime_type| is ready. void MimeTypeAvailable(const std::string& mime_type); @@ -175,7 +173,7 @@ class URLRequestChromeJob : public net::URLRequestJob, } private: - virtual ~URLRequestChromeJob(); + ~URLRequestChromeJob() override; // Helper for Start(), to let us start asynchronously. // (This pattern is shared by most net::URLRequestJob implementations.) @@ -459,9 +457,9 @@ class ChromeProtocolHandler is_incognito_(is_incognito), appcache_service_(appcache_service), blob_storage_context_(blob_storage_context) {} - virtual ~ChromeProtocolHandler() {} + ~ChromeProtocolHandler() override {} - virtual net::URLRequestJob* MaybeCreateJob( + net::URLRequestJob* MaybeCreateJob( net::URLRequest* request, net::NetworkDelegate* network_delegate) const override { DCHECK(request); @@ -504,7 +502,7 @@ class ChromeProtocolHandler GetURLDataManagerForResourceContext(resource_context_), is_incognito_); } - virtual bool IsSafeRedirectTarget(const GURL& location) const override { + bool IsSafeRedirectTarget(const GURL& location) const override { return false; } @@ -729,9 +727,9 @@ class DevToolsJobFactory // |is_incognito| should be set for incognito profiles. DevToolsJobFactory(content::ResourceContext* resource_context, bool is_incognito); - virtual ~DevToolsJobFactory(); + ~DevToolsJobFactory() override; - virtual net::URLRequestJob* MaybeCreateJob( + net::URLRequestJob* MaybeCreateJob( net::URLRequest* request, net::NetworkDelegate* network_delegate) const override; |