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

Side by Side Diff: remoting/signaling/xmpp_login_handler.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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "remoting/signaling/xmpp_login_handler.h" 5 #include "remoting/signaling/xmpp_login_handler.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "remoting/signaling/xmpp_stream_parser.h" 12 #include "remoting/signaling/xmpp_stream_parser.h"
13 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" 13 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
14 14
15 // Undefine SendMessage and ERROR defined in Windows headers. 15 // Undefine SendMessage and ERROR defined in Windows headers.
16 #ifdef SendMessage 16 #ifdef SendMessage
17 #undef SendMessage 17 #undef SendMessage
18 #endif 18 #endif
19 19
20 #ifdef ERROR 20 #ifdef ERROR
21 #undef ERROR 21 #undef ERROR
22 #endif 22 #endif
23 23
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 } 234 }
235 235
236 void XmppLoginHandler::OnError(SignalStrategy::Error error) { 236 void XmppLoginHandler::OnError(SignalStrategy::Error error) {
237 if (state_ != State::ERROR) { 237 if (state_ != State::ERROR) {
238 state_ = State::ERROR; 238 state_ = State::ERROR;
239 delegate_->OnLoginHandlerError(error); 239 delegate_->OnLoginHandlerError(error);
240 } 240 }
241 } 241 }
242 242
243 } // namespace remoting 243 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/signaling/server_log_entry_unittest.cc ('k') | remoting/signaling/xmpp_login_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698