diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-12 02:08:01 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-12 02:08:01 +0000 |
commit | c3e3589c3e2dd1bc2e80d708fd49414376b2da8e (patch) | |
tree | b024190741fb05211f5d8f600bb93c0237b0eed3 /content/renderer/webplugin_delegate_proxy.cc | |
parent | 3b22093c5ea7fd343be8d40f6e229ca7e4eaef8c (diff) | |
download | chromium_src-c3e3589c3e2dd1bc2e80d708fd49414376b2da8e.zip chromium_src-c3e3589c3e2dd1bc2e80d708fd49414376b2da8e.tar.gz chromium_src-c3e3589c3e2dd1bc2e80d708fd49414376b2da8e.tar.bz2 |
Linux/ChromeOS Chromium style checker cleanup, content/ edition.
Automated clean up of style checker errors that were missed due to the plugin
not being executed on implementation files.
BUG=115047
Review URL: https://chromiumcodereview.appspot.com/12210030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181822 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/webplugin_delegate_proxy.cc')
-rw-r--r-- | content/renderer/webplugin_delegate_proxy.cc | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/content/renderer/webplugin_delegate_proxy.cc b/content/renderer/webplugin_delegate_proxy.cc index efca26a2..8cfa6f0 100644 --- a/content/renderer/webplugin_delegate_proxy.cc +++ b/content/renderer/webplugin_delegate_proxy.cc @@ -106,7 +106,7 @@ class ResourceClientProxy : public webkit::npapi::WebPluginResourceClient { multibyte_response_expected_(false) { } - ~ResourceClientProxy() { + virtual ~ResourceClientProxy() { } void Initialize(unsigned long resource_id, const GURL& url, int notify_id) { @@ -124,17 +124,17 @@ class ResourceClientProxy : public webkit::npapi::WebPluginResourceClient { } // PluginResourceClient implementation: - void WillSendRequest(const GURL& url, int http_status_code) { + virtual void WillSendRequest(const GURL& url, int http_status_code) OVERRIDE { DCHECK(channel_ != NULL); channel_->Send(new PluginMsg_WillSendRequest(instance_id_, resource_id_, url, http_status_code)); } - void DidReceiveResponse(const std::string& mime_type, - const std::string& headers, - uint32 expected_length, - uint32 last_modified, - bool request_is_seekable) { + virtual void DidReceiveResponse(const std::string& mime_type, + const std::string& headers, + uint32 expected_length, + uint32 last_modified, + bool request_is_seekable) OVERRIDE { DCHECK(channel_ != NULL); PluginMsg_DidReceiveResponseParams params; params.id = resource_id_; @@ -149,7 +149,9 @@ class ResourceClientProxy : public webkit::npapi::WebPluginResourceClient { channel_->Send(new PluginMsg_DidReceiveResponse(instance_id_, params)); } - void DidReceiveData(const char* buffer, int length, int data_offset) { + virtual void DidReceiveData(const char* buffer, + int length, + int data_offset) OVERRIDE { DCHECK(channel_ != NULL); DCHECK_GT(length, 0); std::vector<char> data; @@ -162,25 +164,25 @@ class ResourceClientProxy : public webkit::npapi::WebPluginResourceClient { data, data_offset)); } - void DidFinishLoading() { + virtual void DidFinishLoading() OVERRIDE { DCHECK(channel_ != NULL); channel_->Send(new PluginMsg_DidFinishLoading(instance_id_, resource_id_)); channel_ = NULL; MessageLoop::current()->DeleteSoon(FROM_HERE, this); } - void DidFail() { + virtual void DidFail() OVERRIDE { DCHECK(channel_ != NULL); channel_->Send(new PluginMsg_DidFail(instance_id_, resource_id_)); channel_ = NULL; MessageLoop::current()->DeleteSoon(FROM_HERE, this); } - bool IsMultiByteResponseExpected() { + virtual bool IsMultiByteResponseExpected() OVERRIDE { return multibyte_response_expected_; } - int ResourceId() { + virtual int ResourceId() OVERRIDE { return resource_id_; } |