blob: 6ba24716a6cd37fdc97a6fbd73149c372d69e390 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Utility functions for NotifierOptions.
#ifndef JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_UTIL_H_
#define JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_UTIL_H_
#include <string>
#include <vector>
#include "jingle/notifier/base/server_information.h"
#include "talk/xmpp/xmppclientsettings.h"
namespace notifier {
struct NotifierOptions;
buzz::XmppClientSettings MakeXmppClientSettings(
const NotifierOptions& notifier_options,
const std::string& email, const std::string& token);
ServerList GetServerList(const NotifierOptions& notifier_options);
} // namespace notifier
#endif // JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_UTIL_H_
|