OLD | NEW |
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 "remoting/jingle_glue/xmpp_socket_adapter.h" | 5 #include "remoting/jingle_glue/xmpp_socket_adapter.h" |
6 | 6 |
7 #include <iomanip> | 7 #include <iomanip> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 int wsa_error = 0; | 430 int wsa_error = 0; |
431 FlushWriteQueue(&error, &wsa_error); | 431 FlushWriteQueue(&error, &wsa_error); |
432 if (error != ERROR_NONE) { | 432 if (error != ERROR_NONE) { |
433 Close(); | 433 Close(); |
434 return false; | 434 return false; |
435 } | 435 } |
436 return true; | 436 return true; |
437 } | 437 } |
438 | 438 |
439 } // namespace remoting | 439 } // namespace remoting |
OLD | NEW |