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

Unified Diff: storage/common/storage_histograms.h

Issue 2858133002: Add uma stats to help evaluate the impact of changes to the quota allocation logic. (Closed)
Patch Set: macros Created 3 years, 7 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 | « storage/common/BUILD.gn ('k') | storage/common/storage_histograms.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/common/storage_histograms.h
diff --git a/storage/common/storage_histograms.h b/storage/common/storage_histograms.h
new file mode 100644
index 0000000000000000000000000000000000000000..8cde5c2c1cb27cb8debdbf11b8525212291aa193
--- /dev/null
+++ b/storage/common/storage_histograms.h
@@ -0,0 +1,18 @@
+// Copyright 2017 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.
+
+#ifndef STORAGE_COMMON_HISTOGRAMS_H
+#define STORAGE_COMMON_HISTOGRAMS_H
+
+#include <string>
+#include "storage/common/storage_common_export.h"
+
+namespace storage {
+
+STORAGE_COMMON_EXPORT void RecordBytesWritten(const char* label, int bytes);
+STORAGE_COMMON_EXPORT void RecordBytesRead(const char* label, int bytes);
+
+} // namespace storage
+
+#endif // STORAGE_COMMON_HISTOGRAMS_H
« no previous file with comments | « storage/common/BUILD.gn ('k') | storage/common/storage_histograms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698