Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / jingle / notifier / base / notifier_options_util.h
blob2d14429d71d36b94a2522664ff32957a94142f14
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 "webrtc/libjingle/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_