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

Unified Diff: net/udp/udp_net_log_parameters.h

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: net/udp/udp_net_log_parameters.h
diff --git a/net/udp/udp_net_log_parameters.h b/net/udp/udp_net_log_parameters.h
index 773f63e32d04f3904170ee76a796b7e28c68b9e7..3dcaa3e8ed9c8f934116baf2acf4fc51d71d13a9 100644
--- a/net/udp/udp_net_log_parameters.h
+++ b/net/udp/udp_net_log_parameters.h
@@ -6,7 +6,7 @@
#define NET_UDP_UDP_NET_LOG_PARAMETERS_H_
#include "net/base/network_change_notifier.h"
-#include "net/log/net_log.h"
+#include "net/log/net_log_parameters_callback.h"
namespace net {
@@ -16,7 +16,7 @@ class IPEndPoint;
// receive/send event. |bytes| are only logged when byte logging is
// enabled. |address| may be NULL. |address| (if given) and |bytes|
// must be valid for the life of the callback.
-NetLog::ParametersCallback CreateNetLogUDPDataTranferCallback(
+NetLogParametersCallback CreateNetLogUDPDataTranferCallback(
int byte_count,
const char* bytes,
const IPEndPoint* address);
@@ -24,7 +24,7 @@ NetLog::ParametersCallback CreateNetLogUDPDataTranferCallback(
// Creates a NetLog callback that returns parameters describing a UDP
// connect event. |address| cannot be NULL, and must remain valid for
// the lifetime of the callback.
-NetLog::ParametersCallback CreateNetLogUDPConnectCallback(
+NetLogParametersCallback CreateNetLogUDPConnectCallback(
const IPEndPoint* address,
NetworkChangeNotifier::NetworkHandle network);

Powered by Google App Engine
This is Rietveld 408576698