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

Unified Diff: base/sys_info_linux.cc

Issue 1011433002: base: "implement" seek time detection for iOS/Android and add more stubs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ssd
Patch Set: -OS_ANDROID 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
« no previous file with comments | « base/sys_info_ios.mm ('k') | base/sys_info_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sys_info_linux.cc
diff --git a/base/sys_info_linux.cc b/base/sys_info_linux.cc
index c698f911db516fdb3a178ecb9e1c15ac18e0ce35..401d55ce1b24bcb2a5fa741deaf8a78e4852ca6f 100644
--- a/base/sys_info_linux.cc
+++ b/base/sys_info_linux.cc
@@ -68,6 +68,13 @@ int64 SysInfo::AmountOfPhysicalMemory() {
return g_lazy_physical_memory.Get().value();
}
+#if !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
+bool SysInfo::HasSeekPenalty(const FilePath& path, bool* has_seek_penalty) {
+ // TODO(dbeam): implement.
+ return false;
+}
+#endif
+
// static
size_t SysInfo::MaxSharedMemorySize() {
return g_lazy_max_shared_memory.Get().value();
« no previous file with comments | « base/sys_info_ios.mm ('k') | base/sys_info_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698