Fix typo in function name (Tranfer -> Transfer).
Change-Id: Ie254d89ee283713459dff7c611e2b160ecd62b9c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1707952
Commit-Queue: Eric Roman <[email protected]>
Commit-Queue: David Benjamin <[email protected]>
Auto-Submit: Eric Roman <[email protected]>
Reviewed-by: David Benjamin <[email protected]>
Cr-Commit-Position: refs/heads/master@{#678896}
diff --git a/net/socket/udp_net_log_parameters.cc b/net/socket/udp_net_log_parameters.cc
index a59677a..f0bc87d9 100644
--- a/net/socket/udp_net_log_parameters.cc
+++ b/net/socket/udp_net_log_parameters.cc
@@ -15,10 +15,10 @@
namespace {
-base::Value NetLogUDPDataTranferParams(int byte_count,
- const char* bytes,
- const IPEndPoint* address,
- NetLogCaptureMode capture_mode) {
+base::Value NetLogUDPDataTransferParams(int byte_count,
+ const char* bytes,
+ const IPEndPoint* address,
+ NetLogCaptureMode capture_mode) {
base::DictionaryValue dict;
dict.SetInteger("byte_count", byte_count);
if (NetLogCaptureIncludesSocketBytes(capture_mode))
@@ -40,14 +40,15 @@
} // namespace
-void NetLogUDPDataTranfer(const NetLogWithSource& net_log,
- NetLogEventType type,
- int byte_count,
- const char* bytes,
- const IPEndPoint* address) {
+void NetLogUDPDataTransfer(const NetLogWithSource& net_log,
+ NetLogEventType type,
+ int byte_count,
+ const char* bytes,
+ const IPEndPoint* address) {
DCHECK(bytes);
net_log.AddEvent(type, [&](NetLogCaptureMode capture_mode) {
- return NetLogUDPDataTranferParams(byte_count, bytes, address, capture_mode);
+ return NetLogUDPDataTransferParams(byte_count, bytes, address,
+ capture_mode);
});
}