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

Unified Diff: content/child/web_url_loader_impl.cc

Issue 671663002: Standardize usage of virtual/override/final in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/web_socket_stream_handle_impl.cc ('k') | content/child/web_url_loader_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_url_loader_impl.cc
diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
index 499cd19428cad296d86fda90226a829d6dfa51a8..34e573af13fcaab37f2133923ecbf71aa554673a 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -303,26 +303,25 @@ class WebURLLoaderImpl::Context : public base::RefCounted<Context>,
SyncLoadResponse* sync_load_response);
// RequestPeer methods:
- virtual void OnUploadProgress(uint64 position, uint64 size) override;
- virtual bool OnReceivedRedirect(const net::RedirectInfo& redirect_info,
- const ResourceResponseInfo& info) override;
- virtual void OnReceivedResponse(const ResourceResponseInfo& info) override;
- virtual void OnDownloadedData(int len, int encoded_data_length) override;
- virtual void OnReceivedData(const char* data,
- int data_length,
- int encoded_data_length) override;
- virtual void OnReceivedCachedMetadata(const char* data, int len) override;
- virtual void OnCompletedRequest(
- int error_code,
- bool was_ignored_by_handler,
- bool stale_copy_in_cache,
- const std::string& security_info,
- const base::TimeTicks& completion_time,
- int64 total_transfer_size) override;
+ void OnUploadProgress(uint64 position, uint64 size) override;
+ bool OnReceivedRedirect(const net::RedirectInfo& redirect_info,
+ const ResourceResponseInfo& info) override;
+ void OnReceivedResponse(const ResourceResponseInfo& info) override;
+ void OnDownloadedData(int len, int encoded_data_length) override;
+ void OnReceivedData(const char* data,
+ int data_length,
+ int encoded_data_length) override;
+ void OnReceivedCachedMetadata(const char* data, int len) override;
+ void OnCompletedRequest(int error_code,
+ bool was_ignored_by_handler,
+ bool stale_copy_in_cache,
+ const std::string& security_info,
+ const base::TimeTicks& completion_time,
+ int64 total_transfer_size) override;
private:
friend class base::RefCounted<Context>;
- virtual ~Context() {}
+ ~Context() override {}
// We can optimize the handling of data URLs in most cases.
bool CanHandleDataURLRequestLocally() const;
« no previous file with comments | « content/child/web_socket_stream_handle_impl.cc ('k') | content/child/web_url_loader_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698