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

Side by Side Diff: net/socket/fuzzed_socket.h

Issue 1946793002: net: Add fuzzer for HostResolverImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Suppress leak Created 4 years, 7 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
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698