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

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

Issue 1182183003: Move EndsWith to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/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 f5c8e8d1e2796c4df75cc8088b143ba350e28703..d6f47a67718d06b34615de4182387ced4210623a 100644
--- a/chrome/browser/web_applications/web_app_mac.mm
+++ b/chrome/browser/web_applications/web_app_mac.mm
@@ -183,7 +183,7 @@ bool HasExistingExtensionShim(const base::FilePath& destination_directory,
for (base::FilePath shim_path = enumerator.Next();
!shim_path.empty(); shim_path = enumerator.Next()) {
if (shim_path.BaseName() != own_basename &&
- EndsWith(shim_path.RemoveExtension().value(),
+ base::EndsWith(shim_path.RemoveExtension().value(),
extension_id,
true /* case_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