Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(342)

Side by Side Diff: jingle/notifier/base/notifier_options_util.h

Issue 10398051: [Sync] Replace TalkMediator*/MediatorThread* with PushClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments, fix test Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « jingle/jingle.gyp ('k') | jingle/notifier/base/notifier_options_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 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 "talk/xmpp/xmppclientsettings.h" 14 #include "talk/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 const std::string& token_service);
24 23
25 ServerList GetServerList(const NotifierOptions& notifier_options); 24 ServerList GetServerList(const NotifierOptions& notifier_options);
26 25
27 } // namespace notifier 26 } // namespace notifier
28 27
29 #endif // JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_UTIL_H_ 28 #endif // JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_UTIL_H_
OLDNEW
« no previous file with comments | « jingle/jingle.gyp ('k') | jingle/notifier/base/notifier_options_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698