OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 NET_CURVECP_CLIENT_PACKETIZER_H_ | 5 #ifndef NET_CURVECP_CLIENT_PACKETIZER_H_ |
6 #define NET_CURVECP_CLIENT_PACKETIZER_H_ | 6 #define NET_CURVECP_CLIENT_PACKETIZER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/task.h" | |
13 #include "net/base/address_list.h" | 12 #include "net/base/address_list.h" |
14 #include "net/base/completion_callback.h" | 13 #include "net/base/completion_callback.h" |
15 #include "net/curvecp/packetizer.h" | 14 #include "net/curvecp/packetizer.h" |
16 #include "net/curvecp/protocol.h" | 15 #include "net/curvecp/protocol.h" |
17 | 16 |
18 namespace net { | 17 namespace net { |
19 | 18 |
20 class AddressList; | 19 class AddressList; |
21 class IOBuffer; | 20 class IOBuffer; |
22 class IPEndPoint; | 21 class IPEndPoint; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 94 |
96 CompletionCallback io_callback_; | 95 CompletionCallback io_callback_; |
97 base::WeakPtrFactory<ClientPacketizer> weak_factory_; | 96 base::WeakPtrFactory<ClientPacketizer> weak_factory_; |
98 | 97 |
99 DISALLOW_COPY_AND_ASSIGN(ClientPacketizer); | 98 DISALLOW_COPY_AND_ASSIGN(ClientPacketizer); |
100 }; | 99 }; |
101 | 100 |
102 } // namespace net | 101 } // namespace net |
103 | 102 |
104 #endif // NET_CURVECP_CLIENT_PACKETIZER_H_ | 103 #endif // NET_CURVECP_CLIENT_PACKETIZER_H_ |
OLD | NEW |