OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_SOCKET_FUZZED_SOCKET_H | 5 #ifndef NET_SOCKET_FUZZED_SOCKET_H_ |
6 #define NET_SOCKET_FUZZED_SOCKET_H | 6 #define NET_SOCKET_FUZZED_SOCKET_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/strings/string_piece.h" | 12 #include "base/strings/string_piece.h" |
13 #include "net/base/completion_callback.h" | 13 #include "net/base/completion_callback.h" |
14 #include "net/base/ip_endpoint.h" | 14 #include "net/base/ip_endpoint.h" |
15 #include "net/base/net_errors.h" | 15 #include "net/base/net_errors.h" |
16 #include "net/log/net_log.h" | 16 #include "net/log/net_log.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 119 |
120 IPEndPoint remote_address_; | 120 IPEndPoint remote_address_; |
121 | 121 |
122 base::WeakPtrFactory<FuzzedSocket> weak_factory_; | 122 base::WeakPtrFactory<FuzzedSocket> weak_factory_; |
123 | 123 |
124 DISALLOW_COPY_AND_ASSIGN(FuzzedSocket); | 124 DISALLOW_COPY_AND_ASSIGN(FuzzedSocket); |
125 }; | 125 }; |
126 | 126 |
127 } // namespace net | 127 } // namespace net |
128 | 128 |
129 #endif // NET_SOCKET_FUZZED_SOCKET_H | 129 #endif // NET_SOCKET_FUZZED_SOCKET_H_ |
OLD | NEW |