Put BrowserMetrics with embedded profiles into subdir for auto-upload.

Because the BrowserMetrics file now has an embedded profile, it isn't
sent as part of the startup sequence but a minute or so after.  That
means the browser could exit and not send anything with the "previous
run" metrics file being overwritten at the next startup.

Instead, append a date-stamp to the last-run filename and move it to
a subdirectory from which files will be removed only after they are
uploaded.

BUG=695880

Review-Url: https://codereview.chromium.org/2938263002
Cr-Commit-Position: refs/heads/master@{#484116}


CrOS-Libchrome-Original-Commit: 38d8bb9328a2d0a1b7d8373ddd70971c1ce4eeb6
2 files changed
tree: 317a58ca8f46bb2de7ecda7b55b3892b49ee992a
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/