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

Unified Diff: chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc

Issue 1233043003: Remove some legacy versions of StartsWith and EndsWith. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/extensions/api/web_navigation/web_navigation_apitest.cc
diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc b/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
index 169f8da2b04d6e32a15ab6fd9a6c1b20467985a8..0f58e84b04689dde5ffe465ffe8d882707b726d4 100644
--- a/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
+++ b/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
@@ -223,7 +223,8 @@ class DelayLoadStartAndExecuteJavascript
const GURL& url,
ui::PageTransition transition_type) override {
if (script_was_executed_ &&
- base::EndsWith(url.spec(), until_url_suffix_, true)) {
+ base::EndsWith(url.spec(), until_url_suffix_,
+ base::CompareCase::SENSITIVE)) {
content::WebContentsObserver::Observe(NULL);
test_navigation_listener_->ResumeAll();
}
« no previous file with comments | « chrome/browser/component_updater/cld_component_installer_unittest.cc ('k') | chrome/browser/extensions/default_apps.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698