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

Side by Side Diff: net/udp/udp_net_log_parameters.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « net/udp/udp_client_socket.cc ('k') | net/udp/udp_net_log_parameters.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef NET_UDP_UDP_NET_LOG_PARAMETERS_H_
6 #define NET_UDP_UDP_NET_LOG_PARAMETERS_H_
7
8 #include "net/base/net_log.h"
9
10 namespace net {
11
12 class IPEndPoint;
13
14 // Creates a NetLog callback that returns parameters describing a UDP
15 // receive/send event. |bytes| are only logged when byte logging is
16 // enabled. |address| may be NULL. |address| (if given) and |bytes|
17 // must be valid for the life of the callback.
18 NetLog::ParametersCallback CreateNetLogUDPDataTranferCallback(
19 int byte_count,
20 const char* bytes,
21 const IPEndPoint* address);
22
23 // Creates a NetLog callback that returns parameters describing a UDP
24 // connect event. |address| cannot be NULL, and must remain valid for
25 // the lifetime of the callback.
26 NetLog::ParametersCallback CreateNetLogUDPConnectCallback(
27 const IPEndPoint* address);
28
29 } // namespace net
30
31 #endif // NET_UDP_UDP_NET_LOG_PARAMETERS_H_
OLDNEW
« no previous file with comments | « net/udp/udp_client_socket.cc ('k') | net/udp/udp_net_log_parameters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698