Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / jingle / notifier / base / notifier_options_util.h
blob6ba24716a6cd37fdc97a6fbd73149c372d69e390
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.
7 #ifndef JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_UTIL_H_
8 #define JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_UTIL_H_
10 #include <string>
11 #include <vector>
13 #include "jingle/notifier/base/server_information.h"
14 #include "talk/xmpp/xmppclientsettings.h"
16 namespace notifier {
18 struct NotifierOptions;
20 buzz::XmppClientSettings MakeXmppClientSettings(
21 const NotifierOptions& notifier_options,
22 const std::string& email, const std::string& token);
24 ServerList GetServerList(const NotifierOptions& notifier_options);
26 } // namespace notifier
28 #endif // JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_UTIL_H_