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

Unified Diff: src/platform/init/chromeos_startup

Issue 1642018: Update the libmetrics API to match the new Chrome interface. (Closed)
Patch Set: Address review comments. Created 10 years, 8 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 | « src/platform/init/chromeos_shutdown ('k') | src/platform/init/dump-boot-stats.conf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/init/chromeos_startup
diff --git a/src/platform/init/chromeos_startup b/src/platform/init/chromeos_startup
index 32ed01f7f9da8794c434085d93fd0a945a6a0629..41e1f2c8269bb7b9ee29c2d8997063065ece089c 100755
--- a/src/platform/init/chromeos_startup
+++ b/src/platform/init/chromeos_startup
@@ -63,6 +63,10 @@ mkdir -p -m 0755 /mnt/stateful_partition/var/tmp
mkdir -p -m 0755 /mnt/stateful_partition/var/run
chmod 0755 /mnt/stateful_partition/var
+# Directory for ChromeOS metrics collection
+mkdir -p -m 0755 /mnt/stateful_partition/var/log/metrics
+chown chronos:chronos /mnt/stateful_partition/var/log/metrics
+
# Default to Pacific timezone if we don't have one set
! ln -s /usr/share/zoneinfo/US/Pacific /mnt/stateful_partition/etc/localtime \
> /dev/null 2>&1
« no previous file with comments | « src/platform/init/chromeos_shutdown ('k') | src/platform/init/dump-boot-stats.conf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698