• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 //
5 // Utility functions for NotifierOptions.
6 
7 #ifndef JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_UTIL_H_
8 #define JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_UTIL_H_
9 
10 #include <string>
11 #include <vector>
12 
13 #include "jingle/notifier/base/server_information.h"
14 #include "talk/xmpp/xmppclientsettings.h"
15 
16 namespace notifier {
17 
18 struct NotifierOptions;
19 
20 buzz::XmppClientSettings MakeXmppClientSettings(
21     const NotifierOptions& notifier_options,
22     const std::string& email, const std::string& token);
23 
24 ServerList GetServerList(const NotifierOptions& notifier_options);
25 
26 }  // namespace notifier
27 
28 #endif  // JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_UTIL_H_
29