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

Unified Diff: chrome/browser/web_applications/web_app_mac.mm

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/web_applications/web_app_mac.mm
diff --git a/chrome/browser/web_applications/web_app_mac.mm b/chrome/browser/web_applications/web_app_mac.mm
index 89cad0e604c2ea007771847851efd7e679851e1a..68b5929735d9316e59941ac471c23e889865f582 100644
--- a/chrome/browser/web_applications/web_app_mac.mm
+++ b/chrome/browser/web_applications/web_app_mac.mm
@@ -184,8 +184,8 @@ bool HasExistingExtensionShim(const base::FilePath& destination_directory,
!shim_path.empty(); shim_path = enumerator.Next()) {
if (shim_path.BaseName() != own_basename &&
base::EndsWith(shim_path.RemoveExtension().value(),
- extension_id,
- true /* case_sensitive */)) {
+ extension_id,
+ base::CompareCase::SENSITIVE)) {
return true;
}
}
« no previous file with comments | « chrome/browser/ui/webui/profiler_ui.cc ('k') | chrome/common/extensions/api/networking_private/networking_private_crypto.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698