-
Andrew Moylan authored
We already have operator==(GURL, StringPiece) and operator!=(GURL, StringPiece). The CL adds variants with the arguments the other way around. Motivation: Compatibility with EXPECT_EQ(expected, actual) in googletest: GURL gurl = ...; EXPECT_EQ("https://www.google.com/", gurl); Updated the motivating test case in this CL also. Bug: 655467 Change-Id: I170bdd8c4219fabd324fc596c95a941390ec36cd Reviewed-on: https://chromium-review.googlesource.com/680854 Commit-Queue: Andrew Moylan <amoylan@chromium.org> Reviewed-by: Charlie Harrison <csharrison@chromium.org> Reviewed-by: Brett Wilson <brettw@chromium.org> Cr-Commit-Position: refs/heads/master@{#507601}
89296468