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

Unified Diff: net/udp/udp_socket_win.cc

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « net/udp/udp_socket_libevent.cc ('k') | net/url_request/url_fetcher_core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/udp/udp_socket_win.cc
diff --git a/net/udp/udp_socket_win.cc b/net/udp/udp_socket_win.cc
index 90ce66196988e7152089d9bc518da9bd979d0d32..928de4ac6b6eddf2f854bd6897766a171926a3f4 100644
--- a/net/udp/udp_socket_win.cc
+++ b/net/udp/udp_socket_win.cc
@@ -13,7 +13,6 @@
#include "base/message_loop/message_loop.h"
#include "base/metrics/histogram.h"
#include "base/metrics/sparse_histogram.h"
-#include "base/metrics/stats_counters.h"
#include "base/profiler/scoped_tracker.h"
#include "base/rand_util.h"
#include "net/base/io_buffer.h"
@@ -699,8 +698,6 @@ void UDPSocketWin::LogRead(int result,
CreateNetLogUDPDataTranferCallback(result, bytes, address));
}
- base::StatsCounter read_bytes("udp.read_bytes");
- read_bytes.Add(result);
NetworkActivityMonitor::GetInstance()->IncrementBytesReceived(result);
}
@@ -718,8 +715,6 @@ void UDPSocketWin::LogWrite(int result,
CreateNetLogUDPDataTranferCallback(result, bytes, address));
}
- base::StatsCounter write_bytes("udp.write_bytes");
- write_bytes.Add(result);
NetworkActivityMonitor::GetInstance()->IncrementBytesSent(result);
}
« no previous file with comments | « net/udp/udp_socket_libevent.cc ('k') | net/url_request/url_fetcher_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698