OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_GAIA_TOKEN_PRE_XMPP_AUTH_H_ | 5 #ifndef JINGLE_NOTIFIER_COMMUNICATOR_GAIA_TOKEN_PRE_XMPP_AUTH_H_ |
6 #define CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_GAIA_TOKEN_PRE_XMPP_AUTH_H_ | 6 #define JINGLE_NOTIFIER_COMMUNICATOR_GAIA_TOKEN_PRE_XMPP_AUTH_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "talk/xmpp/prexmppauth.h" | 11 #include "talk/xmpp/prexmppauth.h" |
12 | 12 |
13 namespace notifier { | 13 namespace notifier { |
14 | 14 |
15 // This class implements buzz::PreXmppAuth interface for token-based | 15 // This class implements buzz::PreXmppAuth interface for token-based |
16 // authentication in GTalk. It looks for the X-GOOGLE-TOKEN auth mechanism | 16 // authentication in GTalk. It looks for the X-GOOGLE-TOKEN auth mechanism |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 const std::string& mechanism); | 51 const std::string& mechanism); |
52 | 52 |
53 private: | 53 private: |
54 std::string username_; | 54 std::string username_; |
55 std::string token_; | 55 std::string token_; |
56 std::string token_service_; | 56 std::string token_service_; |
57 }; | 57 }; |
58 | 58 |
59 } // namespace notifier | 59 } // namespace notifier |
60 | 60 |
61 #endif // CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_GAIA_TOKEN_PRE_XMPP_AUTH_H_ | 61 #endif // JINGLE_NOTIFIER_COMMUNICATOR_GAIA_TOKEN_PRE_XMPP_AUTH_H_ |
OLD | NEW |