crash-reporter: Add "image_type" key to crash reports for dev builds

For crash reports sent from developer images, annotate them with an
"image_type" key set to "dev".  This is so other people know they can be
ignored.  The key will be set to "force-official" if the $FORCE_OFFICIAL
environment variable is set for non-developer images.

TEST=Ran logging_CrashSender autotest

Change-Id: I9d87bdc7dac1a9fd4898fb3c7fd1c965c81d4ce3
Tested-by: Michael Krebs <>
Reviewed-by: Ben Chan <>
Commit-Ready: Michael Krebs <>
1 file changed
tree: 113d00d491c7f8aa6ab034aad6d613b40e6a0de2
  1. crash_reporter/