Implement StringPieceHasSubstrMatcher.
This makes it possible to define a HasSubstr() that is compatible with base::StringPiece arguments, thus reducing divergence between upstream and Chromium code. (In the upstream codebase, base::StringPiece can be implicitly converted into std::string, so there is no need for this workaround.) Review-Url: https://codereview.chromium.org/2615383002 Cr-Commit-Position: refs/heads/master@{#442914}
Showing
Please register or sign in to comment