[Extensions] Use base::StringPiece in ErrorUtils
ErrorUtils are used to construct errors or warnings, and are usually based on const char[]s. Change method signature to take a string piece to avoid constructing a bunch of temporary std::strings. BUG=None Review-Url: https://codereview.chromium.org/2604033002 Cr-Commit-Position: refs/heads/master@{#440907}
Showing
Please register or sign in to comment