Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3321)

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc

Issue 1220963005: Update base::StartsWith calls to new form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@starts_with
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
index 0df6f8c654a3f91bcf9b0dbd226980a9bf28dfab..9378ec3e7c133800bc9b5add1ddb00ed1aae7ae1 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
@@ -1310,7 +1310,8 @@ class SafeBrowsingDatabaseManagerCookieTest : public InProcessBrowserTest {
private:
static scoped_ptr<net::test_server::HttpResponse> HandleRequest(
const net::test_server::HttpRequest& request) {
- if (!base::StartsWithASCII(request.relative_url, "/testpath/", true)) {
+ if (!base::StartsWith(request.relative_url, "/testpath/",
+ base::CompareCase::SENSITIVE)) {
ADD_FAILURE() << "bad path";
return nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698