summaryrefslogtreecommitdiffstats
path: root/jingle/notifier/base/gaia_token_pre_xmpp_auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'jingle/notifier/base/gaia_token_pre_xmpp_auth.h')
-rw-r--r--jingle/notifier/base/gaia_token_pre_xmpp_auth.h33
1 files changed, 17 insertions, 16 deletions
diff --git a/jingle/notifier/base/gaia_token_pre_xmpp_auth.h b/jingle/notifier/base/gaia_token_pre_xmpp_auth.h
index 529b4e0..0ff49ff 100644
--- a/jingle/notifier/base/gaia_token_pre_xmpp_auth.h
+++ b/jingle/notifier/base/gaia_token_pre_xmpp_auth.h
@@ -22,37 +22,38 @@ class GaiaTokenPreXmppAuth : public buzz::PreXmppAuth {
const std::string& token_service,
const std::string& auth_mechanism);
- virtual ~GaiaTokenPreXmppAuth();
+ ~GaiaTokenPreXmppAuth() override;
// buzz::PreXmppAuth (-buzz::SaslHandler) implementation. We stub
// all the methods out as we don't actually do any authentication at
// this point.
- virtual void StartPreXmppAuth(const buzz::Jid& jid,
- const rtc::SocketAddress& server,
- const rtc::CryptString& pass,
- const std::string& auth_mechanism,
- const std::string& auth_token) override;
+ void StartPreXmppAuth(const buzz::Jid& jid,
+ const rtc::SocketAddress& server,
+ const rtc::CryptString& pass,
+ const std::string& auth_mechanism,
+ const std::string& auth_token) override;
- virtual bool IsAuthDone() const override;
+ bool IsAuthDone() const override;
- virtual bool IsAuthorized() const override;
+ bool IsAuthorized() const override;
- virtual bool HadError() const override;
+ bool HadError() const override;
- virtual int GetError() const override;
+ int GetError() const override;
- virtual buzz::CaptchaChallenge GetCaptchaChallenge() const override;
+ buzz::CaptchaChallenge GetCaptchaChallenge() const override;
- virtual std::string GetAuthToken() const override;
+ std::string GetAuthToken() const override;
- virtual std::string GetAuthMechanism() const override;
+ std::string GetAuthMechanism() const override;
// buzz::SaslHandler implementation.
- virtual std::string ChooseBestSaslMechanism(
- const std::vector<std::string>& mechanisms, bool encrypted) override;
+ std::string ChooseBestSaslMechanism(
+ const std::vector<std::string>& mechanisms,
+ bool encrypted) override;
- virtual buzz::SaslMechanism* CreateSaslMechanism(
+ buzz::SaslMechanism* CreateSaslMechanism(
const std::string& mechanism) override;
private: