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

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

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
« no previous file with comments | « jingle/DEPS ('k') | jingle/notifier/DEPS » ('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 <stddef.h> 14 #include <stddef.h>
15 15
16 #include <memory> 16 #include <memory>
17 #include <string> 17 #include <string>
18 #include <vector> 18 #include <vector>
19 19
20 #include "base/compiler_specific.h" 20 #include "base/compiler_specific.h"
21 #include "base/macros.h" 21 #include "base/macros.h"
22 #include "base/memory/ref_counted.h" 22 #include "base/memory/ref_counted.h"
23 #include "base/memory/weak_ptr.h" 23 #include "base/memory/weak_ptr.h"
24 #include "net/base/completion_callback.h" 24 #include "net/base/completion_callback.h"
25 #include "net/base/net_errors.h" 25 #include "net/base/net_errors.h"
26 #include "third_party/webrtc/libjingle/xmpp/asyncsocket.h" 26 #include "third_party/libjingle_xmpp/xmpp/asyncsocket.h"
27 27
28 namespace net { 28 namespace net {
29 class IOBufferWithSize; 29 class IOBufferWithSize;
30 class StreamSocket; 30 class StreamSocket;
31 } // namespace net 31 } // namespace net
32 32
33 namespace jingle_glue { 33 namespace jingle_glue {
34 34
35 class ResolvingClientSocketFactory; 35 class ResolvingClientSocketFactory;
36 36
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 size_t write_end_; 208 size_t write_end_;
209 209
210 base::WeakPtrFactory<ChromeAsyncSocket> weak_ptr_factory_; 210 base::WeakPtrFactory<ChromeAsyncSocket> weak_ptr_factory_;
211 211
212 DISALLOW_COPY_AND_ASSIGN(ChromeAsyncSocket); 212 DISALLOW_COPY_AND_ASSIGN(ChromeAsyncSocket);
213 }; 213 };
214 214
215 } // namespace jingle_glue 215 } // namespace jingle_glue
216 216
217 #endif // JINGLE_GLUE_CHROME_ASYNC_SOCKET_H_ 217 #endif // JINGLE_GLUE_CHROME_ASYNC_SOCKET_H_
OLDNEW
« no previous file with comments | « jingle/DEPS ('k') | jingle/notifier/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698