summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_plugin_host.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-08 17:50:46 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-08 17:50:46 +0000
commit02d08e07d137b394792d15b712d029455713b195 (patch)
treef1a662492bc8a3aa9b336b459cc6d07531ec0b02 /chrome/browser/chrome_plugin_host.h
parent2aad74f0f82e51769b6a11516d1136722aead390 (diff)
downloadchromium_src-02d08e07d137b394792d15b712d029455713b195.zip
chromium_src-02d08e07d137b394792d15b712d029455713b195.tar.gz
chromium_src-02d08e07d137b394792d15b712d029455713b195.tar.bz2
FBTF: Small nits; moving virtual methods to implementation.
BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3627002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61976 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_plugin_host.h')
-rw-r--r--chrome/browser/chrome_plugin_host.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/chrome_plugin_host.h b/chrome/browser/chrome_plugin_host.h
index 13a7736..af8ee15 100644
--- a/chrome/browser/chrome_plugin_host.h
+++ b/chrome/browser/chrome_plugin_host.h
@@ -23,13 +23,11 @@ class CPCommandInterface {
// Called when the command has been invoked. The default action is deletion,
// but some callers may want to use output or check the return value before
// deleting.
- virtual void OnCommandInvoked(CPError retval) {
- delete this;
- }
+ virtual void OnCommandInvoked(CPError retval);
// Some commands have an asynchronous response. This is called some time
// after OnCommandInvoked.
- virtual void OnCommandResponse(CPError retval) { }
+ virtual void OnCommandResponse(CPError retval);
};
// Called when a builtin or plugin-registered UI command is invoked by a user