| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Utility functions for NotifierOptions. | 5 // Utility functions for NotifierOptions. |
| 6 | 6 |
| 7 #ifndef JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_UTIL_H_ | 7 #ifndef JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_UTIL_H_ |
| 8 #define JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_UTIL_H_ | 8 #define JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_UTIL_H_ |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "jingle/notifier/base/server_information.h" | 13 #include "jingle/notifier/base/server_information.h" |
| 14 #include "webrtc/libjingle/xmpp/xmppclientsettings.h" | 14 #include "third_party/libjingle_xmpp/xmpp/xmppclientsettings.h" |
| 15 | 15 |
| 16 namespace notifier { | 16 namespace notifier { |
| 17 | 17 |
| 18 struct NotifierOptions; | 18 struct NotifierOptions; |
| 19 | 19 |
| 20 buzz::XmppClientSettings MakeXmppClientSettings( | 20 buzz::XmppClientSettings MakeXmppClientSettings( |
| 21 const NotifierOptions& notifier_options, | 21 const NotifierOptions& notifier_options, |
| 22 const std::string& email, const std::string& token); | 22 const std::string& email, const std::string& token); |
| 23 | 23 |
| 24 ServerList GetServerList(const NotifierOptions& notifier_options); | 24 ServerList GetServerList(const NotifierOptions& notifier_options); |
| 25 | 25 |
| 26 } // namespace notifier | 26 } // namespace notifier |
| 27 | 27 |
| 28 #endif // JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_UTIL_H_ | 28 #endif // JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_UTIL_H_ |
| OLD | NEW |