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

Unified Diff: content/renderer/webplugin_delegate_proxy.cc

Issue 12210030: Linux/ChromeOS Chromium style checker cleanup, content/ edition. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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/renderer/web_ui_extension.cc ('k') | content/test/gpu/gpu_test_config_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/webplugin_delegate_proxy.cc
===================================================================
--- content/renderer/webplugin_delegate_proxy.cc (revision 181789)
+++ content/renderer/webplugin_delegate_proxy.cc (working copy)
@@ -106,7 +106,7 @@
multibyte_response_expected_(false) {
}
- ~ResourceClientProxy() {
+ virtual ~ResourceClientProxy() {
}
void Initialize(unsigned long resource_id, const GURL& url, int notify_id) {
@@ -124,17 +124,17 @@
}
// 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 @@
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 @@
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_;
}
« no previous file with comments | « content/renderer/web_ui_extension.cc ('k') | content/test/gpu/gpu_test_config_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698