Introduce the new CrashKeyString API.
This will replace the base/debug/crash_logging.h interface with an API that is based off Crashpad's Annotations (https://crbug.com/crashpad/192). Platforms that use Crashpad for crash reporting will indirectly use the new Annotation API. Platforms still using Breakpad are provided a source-compatible API that stores the data in the old NonAllocatingMap/ SimpleStringDictionary. The InitializedArray template is courtesy of sdy@chromium.org. Bug: 598854 Change-Id: Ic1b13ed9b3d504a1f90e119fa816d74fe3bdbff5 Reviewed-on: https://chromium-review.googlesource.com/757637Reviewed-by:Mark Mentovai <mark@chromium.org> Commit-Queue: Robert Sesek <rsesek@chromium.org> Cr-Commit-Position: refs/heads/master@{#517740}
Showing
Please register or sign in to comment