| 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 #include "chrome/common/net/notifier/communicator/gaia_token_pre_xmpp_auth.h" | 5 #include "jingle/notifier/communicator/gaia_token_pre_xmpp_auth.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "talk/base/socketaddress.h" | 9 #include "talk/base/socketaddress.h" |
| 10 #include "talk/xmpp/constants.h" | 10 #include "talk/xmpp/constants.h" |
| 11 #include "talk/xmpp/saslcookiemechanism.h" | 11 #include "talk/xmpp/saslcookiemechanism.h" |
| 12 | 12 |
| 13 namespace notifier { | 13 namespace notifier { |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 buzz::SaslMechanism* GaiaTokenPreXmppAuth::CreateSaslMechanism( | 68 buzz::SaslMechanism* GaiaTokenPreXmppAuth::CreateSaslMechanism( |
| 69 const std::string& mechanism) { | 69 const std::string& mechanism) { |
| 70 if (mechanism != kGaiaAuthMechanism) | 70 if (mechanism != kGaiaAuthMechanism) |
| 71 return NULL; | 71 return NULL; |
| 72 return new buzz::SaslCookieMechanism( | 72 return new buzz::SaslCookieMechanism( |
| 73 kGaiaAuthMechanism, username_, token_, token_service_); | 73 kGaiaAuthMechanism, username_, token_, token_service_); |
| 74 } | 74 } |
| 75 | 75 |
| 76 } // namespace notifier | 76 } // namespace notifier |
| OLD | NEW |