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

Unified Diff: chrome/common/importer/firefox_importer_utils.cc

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/common/importer/firefox_importer_utils.cc
diff --git a/chrome/common/importer/firefox_importer_utils.cc b/chrome/common/importer/firefox_importer_utils.cc
index 4e9a8554e0b1b7423a3cd865b1a402de10b7b3fd..f82461433d994bb53b1cc2a28a2233218278a62b 100644
--- a/chrome/common/importer/firefox_importer_utils.cc
+++ b/chrome/common/importer/firefox_importer_utils.cc
@@ -116,7 +116,7 @@ bool ComposeMacAppPath(const std::string& path_from_file,
// append Contents/MacOS.
for (size_t i = 1; i < path_components.size(); ++i) {
*output = output->Append(path_components[i]);
- if (EndsWith(path_components[i], ".app", true)) {
+ if (base::EndsWith(path_components[i], ".app", true)) {
*output = output->Append("Contents");
*output = output->Append("MacOS");
return true;
« no previous file with comments | « chrome/common/extensions/chrome_extensions_client.cc ('k') | chrome/common/service_process_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698