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

Unified Diff: content/child/npapi/plugin_stream_url.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_lib_unittest.cc ('k') | content/child/npapi/plugin_string_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/npapi/plugin_stream_url.h
diff --git a/content/child/npapi/plugin_stream_url.h b/content/child/npapi/plugin_stream_url.h
index ab7871da5d4eb4cdcdb694a670f8300da353acd9..c43f7892c728cd6c6eb1d984bc767fd5939d64a3 100644
--- a/content/child/npapi/plugin_stream_url.h
+++ b/content/child/npapi/plugin_stream_url.h
@@ -39,28 +39,26 @@ class PluginStreamUrl : public PluginStream,
// Stop sending the stream to the client.
// Overrides the base Close so we can cancel our fetching the URL if
// it is still loading.
- virtual bool Close(NPReason reason) override;
- virtual WebPluginResourceClient* AsResourceClient() override;
- virtual void CancelRequest() override;
+ bool Close(NPReason reason) override;
+ WebPluginResourceClient* AsResourceClient() override;
+ void CancelRequest() override;
// WebPluginResourceClient methods
- virtual void WillSendRequest(const GURL& url, int http_status_code) override;
- virtual void DidReceiveResponse(const std::string& mime_type,
- const std::string& headers,
- uint32 expected_length,
- uint32 last_modified,
- bool request_is_seekable) override;
- virtual void DidReceiveData(const char* buffer,
- int length,
- int data_offset) override;
- virtual void DidFinishLoading(unsigned long resource_id) override;
- virtual void DidFail(unsigned long resource_id) override;
- virtual bool IsMultiByteResponseExpected() override;
- virtual int ResourceId() override;
- virtual void AddRangeRequestResourceId(unsigned long resource_id) override;
+ void WillSendRequest(const GURL& url, int http_status_code) override;
+ void DidReceiveResponse(const std::string& mime_type,
+ const std::string& headers,
+ uint32 expected_length,
+ uint32 last_modified,
+ bool request_is_seekable) override;
+ void DidReceiveData(const char* buffer, int length, int data_offset) override;
+ void DidFinishLoading(unsigned long resource_id) override;
+ void DidFail(unsigned long resource_id) override;
+ bool IsMultiByteResponseExpected() override;
+ int ResourceId() override;
+ void AddRangeRequestResourceId(unsigned long resource_id) override;
protected:
- virtual ~PluginStreamUrl();
+ ~PluginStreamUrl() override;
private:
void SetDeferLoading(bool value);
« no previous file with comments | « content/child/npapi/plugin_lib_unittest.cc ('k') | content/child/npapi/plugin_string_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698