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

Unified Diff: base/sys_info.cc

Issue 999623002: metrics/base: log whether drives have seek penalties. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 5 years, 9 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: base/sys_info.cc
diff --git a/base/sys_info.cc b/base/sys_info.cc
index 72a9944b9729ac4e9e9443fb4a79045bde801cf0..1165522aa0bec4f85803c96f4e390c264b03851e 100644
--- a/base/sys_info.cc
+++ b/base/sys_info.cc
@@ -53,4 +53,10 @@ int64 SysInfo::Uptime() {
return uptime_in_microseconds / 1000;
}
+#if !defined(OS_WIN)
rvargas (doing something else) 2015/03/12 22:01:11 Given that this would have to be modified every ti
Dan Beam 2015/03/13 19:31:31 put into _posix.cc for now, which originally was b
+bool SysInfo::HasSeekPenalty(const FilePath& path, bool* has_seek_penalty) {
+ return false;
+}
+#endif
+
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698