Make MIME sniff constant strings use base::StringPiece.
This adds a couple safety DCHECKs when they're dereferenced, though isn't a huge win. It does help in cleaning up some string comparisons, though, which this CL also does. Bug: 1123179 Change-Id: I6023bebaf59c8d534c08dc386d7428b5f22ba731 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2387550 Commit-Queue: Matt Menke <mmenke@chromium.org> Reviewed-by:Eric Roman <eroman@chromium.org> Cr-Commit-Position: refs/heads/master@{#803678}
Showing
Please register or sign in to comment