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

Unified Diff: base/process/process_metrics.h

Issue 549753002: Cleanup bits of base::ProcessMetrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix a comment Created 6 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 | « no previous file | base/process/process_metrics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/process_metrics.h
diff --git a/base/process/process_metrics.h b/base/process/process_metrics.h
index 15671337f679401e89f18ab67061f5fece747a54..32843e8df77f31ba5891d6129a1d5e1ec46bded8 100644
--- a/base/process/process_metrics.h
+++ b/base/process/process_metrics.h
@@ -202,9 +202,11 @@ class BASE_EXPORT ProcessMetrics {
TimeTicks last_cpu_time_;
int64 last_system_time_;
+#if defined(OS_MACOSX)
// Same thing for idle wakeups.
TimeTicks last_idle_wakeups_time_;
- int64 last_absolute_idle_wakeups_;
+ uint64 last_absolute_idle_wakeups_;
+#endif
#if !defined(OS_IOS)
#if defined(OS_MACOSX)
@@ -320,7 +322,7 @@ struct BASE_EXPORT SystemDiskInfo {
uint64 weighted_io_time;
};
-// Checks whether the candidate string is a valid disk name, [sh]d[a-z]+
+// Checks whether the candidate string is a valid disk name, [hsv]d[a-z]+
// for a generic disk or mmcblk[0-9]+ for the MMC case.
// Names of disk partitions (e.g. sda1) are not valid.
BASE_EXPORT bool IsValidDiskName(const std::string& candidate);
« no previous file with comments | « no previous file | base/process/process_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698