OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_RENDERER_P2P_SOCKET_CLIENT_H_ | 5 #ifndef CONTENT_RENDERER_P2P_SOCKET_CLIENT_H_ |
6 #define CONTENT_RENDERER_P2P_SOCKET_CLIENT_H_ | 6 #define CONTENT_RENDERER_P2P_SOCKET_CLIENT_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
11 #include "content/common/p2p_socket_type.h" | 13 #include "content/common/p2p_socket_type.h" |
12 #include "net/base/ip_endpoint.h" | 14 #include "net/base/ip_endpoint.h" |
13 | 15 |
14 namespace rtc { | 16 namespace rtc { |
15 struct PacketOptions; | 17 struct PacketOptions; |
16 }; | 18 }; |
17 | 19 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 protected: | 55 protected: |
54 virtual ~P2PSocketClient() {} | 56 virtual ~P2PSocketClient() {} |
55 | 57 |
56 private: | 58 private: |
57 // Calls destructor. | 59 // Calls destructor. |
58 friend class base::RefCountedThreadSafe<P2PSocketClient>; | 60 friend class base::RefCountedThreadSafe<P2PSocketClient>; |
59 }; | 61 }; |
60 } // namespace content | 62 } // namespace content |
61 | 63 |
62 #endif // CONTENT_RENDERER_P2P_SOCKET_CLIENT_H_ | 64 #endif // CONTENT_RENDERER_P2P_SOCKET_CLIENT_H_ |
OLD | NEW |