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

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

Issue 18156002: Use a direct include of time headers in courgette/, crypto/, dbus/, device/, google_apis/, gpu/, ip… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « ipc/ipc_test_base.cc ('k') | jingle/glue/pseudotcp_adapter.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 // 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 #ifndef JINGLE_GLUE_PSEUDOTCP_ADAPTER_H_ 5 #ifndef JINGLE_GLUE_PSEUDOTCP_ADAPTER_H_
6 #define JINGLE_GLUE_PSEUDOTCP_ADAPTER_H_ 6 #define JINGLE_GLUE_PSEUDOTCP_ADAPTER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/timer.h"
13 #include "base/threading/non_thread_safe.h" 12 #include "base/threading/non_thread_safe.h"
13 #include "base/timer/timer.h"
14 #include "net/base/net_log.h" 14 #include "net/base/net_log.h"
15 #include "net/socket/stream_socket.h" 15 #include "net/socket/stream_socket.h"
16 #include "third_party/libjingle/source/talk/p2p/base/pseudotcp.h" 16 #include "third_party/libjingle/source/talk/p2p/base/pseudotcp.h"
17 17
18 namespace jingle_glue { 18 namespace jingle_glue {
19 19
20 // PseudoTcpAdapter adapts a connectionless net::Socket to a connection- 20 // PseudoTcpAdapter adapts a connectionless net::Socket to a connection-
21 // oriented net::StreamSocket using PseudoTcp. Because net::StreamSockets 21 // oriented net::StreamSocket using PseudoTcp. Because net::StreamSockets
22 // can be deleted during callbacks, while PseudoTcp cannot, the core of the 22 // can be deleted during callbacks, while PseudoTcp cannot, the core of the
23 // PseudoTcpAdapter is reference counted, with a reference held by the 23 // PseudoTcpAdapter is reference counted, with a reference held by the
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 scoped_refptr<Core> core_; 83 scoped_refptr<Core> core_;
84 84
85 net::BoundNetLog net_log_; 85 net::BoundNetLog net_log_;
86 86
87 DISALLOW_COPY_AND_ASSIGN(PseudoTcpAdapter); 87 DISALLOW_COPY_AND_ASSIGN(PseudoTcpAdapter);
88 }; 88 };
89 89
90 } // namespace jingle_glue 90 } // namespace jingle_glue
91 91
92 #endif // JINGLE_GLUE_STREAM_SOCKET_ADAPTER_H_ 92 #endif // JINGLE_GLUE_STREAM_SOCKET_ADAPTER_H_
OLDNEW
« no previous file with comments | « ipc/ipc_test_base.cc ('k') | jingle/glue/pseudotcp_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698