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

Unified Diff: net/base/file_stream_metrics_posix.cc

Issue 7583049: Record UMA statistics for file_stream operations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed extra logging. Created 9 years, 3 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/base/file_stream_metrics.cc ('k') | net/base/file_stream_metrics_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/file_stream_metrics_posix.cc
diff --git a/net/base/file_stream_metrics_posix.cc b/net/base/file_stream_metrics_posix.cc
new file mode 100644
index 0000000000000000000000000000000000000000..7407d50c6e79f0b67557266b584ad8df7323ac28
--- /dev/null
+++ b/net/base/file_stream_metrics_posix.cc
@@ -0,0 +1,21 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "net/base/file_stream_metrics.h"
+
+namespace net {
+
+int GetFileErrorUmaBucket(int error) {
+ return 1;
+}
+
+int MaxFileErrorUmaBucket() {
+ return 2;
+}
+
+int MaxFileErrorUmaValue() {
+ return 160;
+}
+
+} // namespace net
« no previous file with comments | « net/base/file_stream_metrics.cc ('k') | net/base/file_stream_metrics_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698