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

Unified Diff: metrics_daemon.h

Issue 6541007: Find device-dependent disk stats file, and skip disk stats if not available. (Closed) Base URL: http://git.chromium.org/git/metrics.git@master
Patch Set: More small changes Created 9 years, 10 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 | « Makefile ('k') | metrics_daemon.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: metrics_daemon.h
diff --git a/metrics_daemon.h b/metrics_daemon.h
index dd613227de02984802e338a6115cf6cc6f7b8f6c..52525182953fee9bb368a0c9776ce0fafd113136 100644
--- a/metrics_daemon.h
+++ b/metrics_daemon.h
@@ -30,7 +30,7 @@ class MetricsDaemon {
// Initializes.
void Init(bool testing, MetricsLibraryInterface* metrics_lib,
- const char* diskstats_path);
+ std::string diskstats_path);
// Does all the work. If |run_as_daemon| is true, daemonizes by
// forking.
@@ -304,7 +304,7 @@ class MetricsDaemon {
long int write_sectors_;
DiskStatsState diskstats_state_;
- const char* diskstats_path_;
+ std::string diskstats_path_;
};
#endif // METRICS_DAEMON_H_
« no previous file with comments | « Makefile ('k') | metrics_daemon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698