Description[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
Committed: https://crrev.com/24e8964b3cd00020aba01217cfee6b88c1804bbf
Cr-Commit-Position: refs/heads/master@{#440907}
Patch Set 1 #
Messages
Total messages: 14 (9 generated)
|