Encode serialized proto in base64 before saving to base::Value.
This fixes a broken DCHECK caused by storing a string which is not UTF8 encoded in a base::Value. Bug: 966270 Change-Id: I6e2084ffebe3bb8cefa1bd48f0f39e435c3442e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2186747Reviewed-by:James Vecore <vecore@google.com> Commit-Queue: Jon Mann <jonmann@chromium.org> Cr-Commit-Position: refs/heads/master@{#766438}
Showing
Please register or sign in to comment