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

Side by Side Diff: remoting/jingle_glue/xmpp_socket_adapter.cc

Issue 8991010: This change updates the libjingle logging so that it writes to chromiums VLOG instead of its own ... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 8 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 | Annotate | Revision Log
« no previous file with comments | « jingle/jingle.gyp ('k') | third_party/libjingle/libjingle.gyp » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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"
11 #include "remoting/jingle_glue/ssl_adapter.h" 11 #include "remoting/jingle_glue/ssl_adapter.h"
12 #include "third_party/libjingle/source/talk/base/byteorder.h" 12 #include "third_party/libjingle/source/talk/base/byteorder.h"
13 #include "third_party/libjingle/source/talk/base/common.h" 13 #include "third_party/libjingle/source/talk/base/common.h"
14 #include "third_party/libjingle/source/talk/base/firewallsocketserver.h" 14 #include "third_party/libjingle/source/talk/base/firewallsocketserver.h"
15 #include "third_party/libjingle/source/talk/base/logging.h"
16 #include "third_party/libjingle/source/talk/base/socketadapters.h" 15 #include "third_party/libjingle/source/talk/base/socketadapters.h"
17 #include "third_party/libjingle/source/talk/base/ssladapter.h" 16 #include "third_party/libjingle/source/talk/base/ssladapter.h"
18 #include "third_party/libjingle/source/talk/base/thread.h" 17 #include "third_party/libjingle/source/talk/base/thread.h"
19 #include "third_party/libjingle/source/talk/xmpp/xmppengine.h" 18 #include "third_party/libjingle/source/talk/xmpp/xmppengine.h"
20 19
21 namespace remoting { 20 namespace remoting {
22 21
23 XmppSocketAdapter::XmppSocketAdapter(const buzz::XmppClientSettings& xcs, 22 XmppSocketAdapter::XmppSocketAdapter(const buzz::XmppClientSettings& xcs,
24 bool allow_unverified_certs) 23 bool allow_unverified_certs)
25 : state_(STATE_CLOSED), 24 : state_(STATE_CLOSED),
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 int wsa_error = 0; 430 int wsa_error = 0;
432 FlushWriteQueue(&error, &wsa_error); 431 FlushWriteQueue(&error, &wsa_error);
433 if (error != ERROR_NONE) { 432 if (error != ERROR_NONE) {
434 Close(); 433 Close();
435 return false; 434 return false;
436 } 435 }
437 return true; 436 return true;
438 } 437 }
439 438
440 } // namespace remoting 439 } // namespace remoting
OLDNEW
« no previous file with comments | « jingle/jingle.gyp ('k') | third_party/libjingle/libjingle.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698