DescriptionImplement 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}
Committed: https://chromium.googlesource.com/chromium/src/+/e5cfe692b132aa62616a5db9f56e23621c4b9c9e
Patch Set 1 #Patch Set 2 : Rebase. #
Messages
Total messages: 17 (11 generated)
|