From 78994ab0a043ead9b3edb4a48c7f13cc6c2aede6 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Wed, 8 Dec 2010 18:06:44 +0000 Subject: 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 --- remoting/client/plugin/pepper_input_handler.h | 2 +- remoting/jingle_glue/jingle_thread.h | 4 ++-- remoting/jingle_glue/xmpp_socket_adapter.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'remoting') 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 -- cgit v1.1