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

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

Issue 10829424: Create stub jingle library for iOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Follow review Created 8 years, 4 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 | Annotate | Revision Log
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual std::string GetAuthMechanism() const OVERRIDE; 48 virtual std::string GetAuthMechanism() const OVERRIDE;
49 49
50 // buzz::SaslHandler implementation. 50 // buzz::SaslHandler implementation.
51 51
52 virtual std::string ChooseBestSaslMechanism( 52 virtual std::string ChooseBestSaslMechanism(
53 const std::vector<std::string>& mechanisms, bool encrypted) OVERRIDE; 53 const std::vector<std::string>& mechanisms, bool encrypted) OVERRIDE;
54 54
55 virtual buzz::SaslMechanism* CreateSaslMechanism( 55 virtual buzz::SaslMechanism* CreateSaslMechanism(
56 const std::string& mechanism) OVERRIDE; 56 const std::string& mechanism) OVERRIDE;
57 57
58 static const char kDefaultAuthMechanism[];
59
60 private: 58 private:
61 std::string username_; 59 std::string username_;
62 std::string token_; 60 std::string token_;
63 std::string token_service_; 61 std::string token_service_;
64 std::string auth_mechanism_; 62 std::string auth_mechanism_;
65 }; 63 };
66 64
67 } // namespace notifier 65 } // namespace notifier
68 66
69 #endif // JINGLE_NOTIFIER_BASE_GAIA_TOKEN_PRE_XMPP_AUTH_H_ 67 #endif // JINGLE_NOTIFIER_BASE_GAIA_TOKEN_PRE_XMPP_AUTH_H_
OLDNEW
« no previous file with comments | « jingle/notifier/base/gaia_constants.cc ('k') | jingle/notifier/base/gaia_token_pre_xmpp_auth.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698