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

Side by Side Diff: webrtc/libjingle/xmpp/xmppsocket.cc

Issue 1820023004: Remove all uses of the HAVE_CONFIG_H define. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 4 years, 8 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 | « webrtc/base/sslstreamadapterhelper.cc ('k') | webrtc/media/base/mediaengine.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 /* 1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "xmppsocket.h" 11 #include "xmppsocket.h"
12 12
13 #ifdef HAVE_CONFIG_H
14 #include <config.h>
15 #endif
16
17 #include <errno.h> 13 #include <errno.h>
18 #include "webrtc/base/logging.h" 14 #include "webrtc/base/logging.h"
19 #include "webrtc/base/thread.h" 15 #include "webrtc/base/thread.h"
20 #ifdef FEATURE_ENABLE_SSL 16 #ifdef FEATURE_ENABLE_SSL
21 #include "webrtc/base/ssladapter.h" 17 #include "webrtc/base/ssladapter.h"
22 #endif 18 #endif
23 19
24 #ifdef USE_SSLSTREAM 20 #ifdef USE_SSLSTREAM
25 #include "webrtc/base/socketstream.h" 21 #include "webrtc/base/socketstream.h"
26 #ifdef FEATURE_ENABLE_SSL 22 #ifdef FEATURE_ENABLE_SSL
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 #endif // USE_SSLSTREAM 231 #endif // USE_SSLSTREAM
236 state_ = buzz::AsyncSocket::STATE_TLS_CONNECTING; 232 state_ = buzz::AsyncSocket::STATE_TLS_CONNECTING;
237 return true; 233 return true;
238 #else // !defined(FEATURE_ENABLE_SSL) 234 #else // !defined(FEATURE_ENABLE_SSL)
239 return false; 235 return false;
240 #endif // !defined(FEATURE_ENABLE_SSL) 236 #endif // !defined(FEATURE_ENABLE_SSL)
241 } 237 }
242 238
243 } // namespace buzz 239 } // namespace buzz
244 240
OLDNEW
« no previous file with comments | « webrtc/base/sslstreamadapterhelper.cc ('k') | webrtc/media/base/mediaengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698