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

Side by Side Diff: jingle/notifier/base/gaia_token_pre_xmpp_auth.h

Issue 2738973004: Replace rtc::CryptString with std::string (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef JINGLE_NOTIFIER_BASE_GAIA_TOKEN_PRE_XMPP_AUTH_H_ 5 #ifndef JINGLE_NOTIFIER_BASE_GAIA_TOKEN_PRE_XMPP_AUTH_H_
6 #define JINGLE_NOTIFIER_BASE_GAIA_TOKEN_PRE_XMPP_AUTH_H_ 6 #define JINGLE_NOTIFIER_BASE_GAIA_TOKEN_PRE_XMPP_AUTH_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 11 matching lines...) Expand all
22 const std::string& token_service, 22 const std::string& token_service,
23 const std::string& auth_mechanism); 23 const std::string& auth_mechanism);
24 24
25 ~GaiaTokenPreXmppAuth() override; 25 ~GaiaTokenPreXmppAuth() override;
26 26
27 // buzz::PreXmppAuth (-buzz::SaslHandler) implementation. We stub 27 // buzz::PreXmppAuth (-buzz::SaslHandler) implementation. We stub
28 // all the methods out as we don't actually do any authentication at 28 // all the methods out as we don't actually do any authentication at
29 // this point. 29 // this point.
30 void StartPreXmppAuth(const buzz::Jid& jid, 30 void StartPreXmppAuth(const buzz::Jid& jid,
31 const rtc::SocketAddress& server, 31 const rtc::SocketAddress& server,
32 const rtc::CryptString& pass, 32 const std::string& pass,
33 const std::string& auth_mechanism, 33 const std::string& auth_mechanism,
34 const std::string& auth_token) override; 34 const std::string& auth_token) override;
35 35
36 bool IsAuthDone() const override; 36 bool IsAuthDone() const override;
37 37
38 bool IsAuthorized() const override; 38 bool IsAuthorized() const override;
39 39
40 bool HadError() const override; 40 bool HadError() const override;
41 41
42 int GetError() const override; 42 int GetError() const override;
(...skipping 16 matching lines...) Expand all
59 private: 59 private:
60 std::string username_; 60 std::string username_;
61 std::string token_; 61 std::string token_;
62 std::string token_service_; 62 std::string token_service_;
63 std::string auth_mechanism_; 63 std::string auth_mechanism_;
64 }; 64 };
65 65
66 } // namespace notifier 66 } // namespace notifier
67 67
68 #endif // JINGLE_NOTIFIER_BASE_GAIA_TOKEN_PRE_XMPP_AUTH_H_ 68 #endif // JINGLE_NOTIFIER_BASE_GAIA_TOKEN_PRE_XMPP_AUTH_H_
OLDNEW
« no previous file with comments | « no previous file | jingle/notifier/base/gaia_token_pre_xmpp_auth.cc » ('j') | third_party/libjingle_xmpp/xmpp/saslplainmechanism.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698