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

Side by Side Diff: jingle/glue/chrome_async_socket.h

Issue 653203005: Roll WebRTC 7546:7549. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Decreased the number of gyp changes in this patch since thats the only major change (the reset is j… Created 6 years, 1 month 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/glue/channel_socket_adapter_unittest.cc ('k') | jingle/glue/pseudotcp_adapter.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 // An implementation of buzz::AsyncSocket that uses Chrome sockets. 5 // An implementation of buzz::AsyncSocket that uses Chrome sockets.
6 6
7 #ifndef JINGLE_GLUE_CHROME_ASYNC_SOCKET_H_ 7 #ifndef JINGLE_GLUE_CHROME_ASYNC_SOCKET_H_
8 #define JINGLE_GLUE_CHROME_ASYNC_SOCKET_H_ 8 #define JINGLE_GLUE_CHROME_ASYNC_SOCKET_H_
9 9
10 #if !defined(FEATURE_ENABLE_SSL) 10 #if !defined(FEATURE_ENABLE_SSL)
11 #error ChromeAsyncSocket expects FEATURE_ENABLE_SSL to be defined 11 #error ChromeAsyncSocket expects FEATURE_ENABLE_SSL to be defined
12 #endif 12 #endif
13 13
14 #include <string> 14 #include <string>
15 #include <vector> 15 #include <vector>
16 16
17 #include "base/basictypes.h" 17 #include "base/basictypes.h"
18 #include "base/compiler_specific.h" 18 #include "base/compiler_specific.h"
19 #include "base/memory/ref_counted.h" 19 #include "base/memory/ref_counted.h"
20 #include "base/memory/scoped_ptr.h" 20 #include "base/memory/scoped_ptr.h"
21 #include "base/memory/weak_ptr.h" 21 #include "base/memory/weak_ptr.h"
22 #include "net/base/completion_callback.h" 22 #include "net/base/completion_callback.h"
23 #include "net/base/net_errors.h" 23 #include "net/base/net_errors.h"
24 #include "third_party/libjingle/source/talk/xmpp/asyncsocket.h" 24 #include "third_party/webrtc/libjingle/xmpp/asyncsocket.h"
25 25
26 namespace net { 26 namespace net {
27 class IOBufferWithSize; 27 class IOBufferWithSize;
28 class StreamSocket; 28 class StreamSocket;
29 } // namespace net 29 } // namespace net
30 30
31 namespace jingle_glue { 31 namespace jingle_glue {
32 32
33 class ResolvingClientSocketFactory; 33 class ResolvingClientSocketFactory;
34 34
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 size_t write_end_; 205 size_t write_end_;
206 206
207 base::WeakPtrFactory<ChromeAsyncSocket> weak_ptr_factory_; 207 base::WeakPtrFactory<ChromeAsyncSocket> weak_ptr_factory_;
208 208
209 DISALLOW_COPY_AND_ASSIGN(ChromeAsyncSocket); 209 DISALLOW_COPY_AND_ASSIGN(ChromeAsyncSocket);
210 }; 210 };
211 211
212 } // namespace jingle_glue 212 } // namespace jingle_glue
213 213
214 #endif // JINGLE_GLUE_CHROME_ASYNC_SOCKET_H_ 214 #endif // JINGLE_GLUE_CHROME_ASYNC_SOCKET_H_
OLDNEW
« no previous file with comments | « jingle/glue/channel_socket_adapter_unittest.cc ('k') | jingle/glue/pseudotcp_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698