[Chromecast] Change lockfile format to pseudo json.
commit24fb96b8b08ba3d59383a372f45773f81aa3c5fa
authorbcf <bcf@google.com>
Tue, 18 Aug 2015 21:03:41 +0000 (18 14:03 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 18 Aug 2015 21:04:20 +0000 (18 21:04 +0000)
tree4e6986c7c3dae3aff807a08adc0ef6b37010e58b
parentd649f6b22c90bafe885294fac6f0cf67c48cb425
[Chromecast] Change lockfile format to pseudo json.

We do not want other producers of the lockfile (namely the
watchdog) to have dependecies to parse json. As a result,
the format of the lockfile is changed to simply place all
DumpInfo entries at the end of the lockfile.

Note that the in memory representation for the lockfile is
unaffected.

TEST=modified tests pass
BUG=internal b/19210655

Committed: https://crrev.com/3dc182443da4eec83a698f0f544485a0939aa389
Cr-Commit-Position: refs/heads/master@{#341957}

Review URL: https://codereview.chromium.org/1274753004

Cr-Commit-Position: refs/heads/master@{#344025}
chromecast/crash/linux/crash_testing_utils.cc
chromecast/crash/linux/crash_testing_utils.h
chromecast/crash/linux/minidump_writer_unittest.cc
chromecast/crash/linux/synchronized_minidump_manager.cc
chromecast/crash/linux/synchronized_minidump_manager.h
chromecast/crash/linux/synchronized_minidump_manager_unittest.cc