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

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

Issue 2443903004: Add xmllite and xmpp sources to third_party/ (Closed)
Patch Set: Explicitly use webrtc_overrides/webrtc/base/logging.h Created 3 years, 11 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
« no previous file with comments | « jingle/notifier/base/notifier_options_util.h ('k') | jingle/notifier/base/weak_xmpp_client.h » ('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) 2012 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 #include "jingle/notifier/base/notifier_options_util.h" 5 #include "jingle/notifier/base/notifier_options_util.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "jingle/notifier/base/const_communicator.h" 8 #include "jingle/notifier/base/const_communicator.h"
9 #include "jingle/notifier/base/notifier_options.h" 9 #include "jingle/notifier/base/notifier_options.h"
10 #include "webrtc/libjingle/xmpp/constants.h" 10 #include "third_party/libjingle_xmpp/xmpp/constants.h"
11 #include "webrtc/libjingle/xmpp/jid.h" 11 #include "third_party/libjingle_xmpp/xmpp/jid.h"
12 12
13 namespace notifier { 13 namespace notifier {
14 14
15 buzz::XmppClientSettings MakeXmppClientSettings( 15 buzz::XmppClientSettings MakeXmppClientSettings(
16 const NotifierOptions& notifier_options, 16 const NotifierOptions& notifier_options,
17 const std::string& email, const std::string& token) { 17 const std::string& email, const std::string& token) {
18 buzz::Jid jid = buzz::Jid(email); 18 buzz::Jid jid = buzz::Jid(email);
19 DCHECK(!jid.node().empty()); 19 DCHECK(!jid.node().empty());
20 DCHECK(jid.IsValid()); 20 DCHECK(jid.IsValid());
21 21
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 servers.push_back( 57 servers.push_back(
58 ServerInformation( 58 ServerInformation(
59 net::HostPortPair("talkx.l.google.com", 59 net::HostPortPair("talkx.l.google.com",
60 notifier::kDefaultXmppPort), 60 notifier::kDefaultXmppPort),
61 SUPPORTS_SSLTCP)); 61 SUPPORTS_SSLTCP));
62 } 62 }
63 return servers; 63 return servers;
64 } 64 }
65 65
66 } // namespace notifier 66 } // namespace notifier
OLDNEW
« no previous file with comments | « jingle/notifier/base/notifier_options_util.h ('k') | jingle/notifier/base/weak_xmpp_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698