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

Unified Diff: content/child/npapi/plugin_url_fetcher.h

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/npapi/plugin_string_stream.h ('k') | content/child/npapi/webplugin_delegate_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/npapi/plugin_url_fetcher.h
diff --git a/content/child/npapi/plugin_url_fetcher.h b/content/child/npapi/plugin_url_fetcher.h
index dcedb8abcfccccaa2b56839b1fbc8cbbd84e5700..57eb5a5beba4f9bb18dade46c6f1e558ca511b9e 100644
--- a/content/child/npapi/plugin_url_fetcher.h
+++ b/content/child/npapi/plugin_url_fetcher.h
@@ -34,7 +34,7 @@ class PluginURLFetcher : public RequestPeer {
int render_view_id,
unsigned long resource_id,
bool copy_stream_data);
- virtual ~PluginURLFetcher();
+ ~PluginURLFetcher() override;
// Cancels the current request.
void Cancel();
@@ -52,20 +52,20 @@ class PluginURLFetcher : public RequestPeer {
private:
// RequestPeer implementation:
- 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 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 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;
// |plugin_stream_| becomes NULL after Cancel() to ensure no further calls
// |reach it.
« no previous file with comments | « content/child/npapi/plugin_string_stream.h ('k') | content/child/npapi/webplugin_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698