diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-08 18:06:44 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-08 18:06:44 +0000 |
commit | 78994ab0a043ead9b3edb4a48c7f13cc6c2aede6 (patch) | |
tree | 357ae4e0cf8bf140e616d3086b29472043aaf0e5 /remoting | |
parent | a7a265efd24072f9dc7b5f737ec84d5ae0553cd6 (diff) | |
download | chromium_src-78994ab0a043ead9b3edb4a48c7f13cc6c2aede6.zip chromium_src-78994ab0a043ead9b3edb4a48c7f13cc6c2aede6.tar.gz chromium_src-78994ab0a043ead9b3edb4a48c7f13cc6c2aede6.tar.bz2 |
Add the "virtual" keyword on method overrides that are missing it.
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/5648004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68606 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/client/plugin/pepper_input_handler.h | 2 | ||||
-rw-r--r-- | remoting/jingle_glue/jingle_thread.h | 4 | ||||
-rw-r--r-- | remoting/jingle_glue/xmpp_socket_adapter.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/remoting/client/plugin/pepper_input_handler.h b/remoting/client/plugin/pepper_input_handler.h index 8d5bebe..b99dd32 100644 --- a/remoting/client/plugin/pepper_input_handler.h +++ b/remoting/client/plugin/pepper_input_handler.h @@ -20,7 +20,7 @@ class PepperInputHandler : public InputHandler { ChromotingView* view); virtual ~PepperInputHandler(); - void Initialize(); + virtual void Initialize(); void HandleKeyEvent(bool keydown, const PP_InputEvent_Key& event); void HandleCharacterEvent(const PP_InputEvent_Character& event); diff --git a/remoting/jingle_glue/jingle_thread.h b/remoting/jingle_glue/jingle_thread.h index 139b053..bd60879 100644 --- a/remoting/jingle_glue/jingle_thread.h +++ b/remoting/jingle_glue/jingle_thread.h @@ -42,10 +42,10 @@ class JingleThread : public talk_base::Thread, void Start(); // Main function for the thread. Should not be called directly. - void Run(); + virtual void Run(); // Stop the thread. - void Stop(); + virtual void Stop(); // Returns Chromiums message loop for this thread. // TODO(sergeyu): remove this method when we use base::Thread instead of diff --git a/remoting/jingle_glue/xmpp_socket_adapter.h b/remoting/jingle_glue/xmpp_socket_adapter.h index 18376b1..42493f9a 100644 --- a/remoting/jingle_glue/xmpp_socket_adapter.h +++ b/remoting/jingle_glue/xmpp_socket_adapter.h @@ -39,7 +39,7 @@ class XmppSocketAdapter : public buzz::AsyncSocket, virtual bool Close(); #if defined(FEATURE_ENABLE_SSL) - bool StartTls(const std::string& domainname); + virtual bool StartTls(const std::string& domainname); bool IsOpen() const { return state_ == STATE_OPEN || state_ == STATE_TLS_OPEN; } #else |