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

Unified Diff: src/platform/metrics_daemon/metrics_daemon.h

Issue 500117: Daemonize (fork()) and install metrics_daemon in the image for execution. (Closed)
Patch Set: rename do_fork to run_as_daemon Created 11 years 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 | « src/platform/metrics_daemon/make_pkg.sh ('k') | src/platform/metrics_daemon/metrics_daemon.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/metrics_daemon/metrics_daemon.h
diff --git a/src/platform/metrics_daemon/metrics_daemon.h b/src/platform/metrics_daemon/metrics_daemon.h
index 5c7edc3ded7b8455cdc7a1a4cdc9ef39905c36d5..5a291705f6c197b9529c19dde8f081b7df396883 100644
--- a/src/platform/metrics_daemon/metrics_daemon.h
+++ b/src/platform/metrics_daemon/metrics_daemon.h
@@ -17,9 +17,9 @@ class MetricsDaemon {
}
~MetricsDaemon() {}
- // Does all the work. If |testing| is true, log the stats instead of sending
- // them to Chrome.
- void Run(bool testing);
+ // Does all the work. If |run_as_daemon| is true, daemonize by forking. If
+ // |testing| is true, log the stats instead of sending them to Chrome.
+ void Run(bool run_as_daemon, bool testing);
private:
// Shared with Chrome for transport.
« no previous file with comments | « src/platform/metrics_daemon/make_pkg.sh ('k') | src/platform/metrics_daemon/metrics_daemon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698