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

Unified Diff: chrome/browser/importer/firefox3_importer.cc

Issue 19052005: Move PathIsWritable, DirectoryExists, ContentsEqual, and TextContentsEqual to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/importer/firefox3_importer.cc
diff --git a/chrome/browser/importer/firefox3_importer.cc b/chrome/browser/importer/firefox3_importer.cc
index 50a0d0cee950e205ca7673cf0c18e20a924edb0b..7a5c26a07125ad95df54166d2fdfea83606bf560 100644
--- a/chrome/browser/importer/firefox3_importer.cc
+++ b/chrome/browser/importer/firefox3_importer.cc
@@ -431,9 +431,9 @@ void Firefox3Importer::GetSearchEnginesXMLData(
DCHECK(!locale_.empty());
base::FilePath locale_app_path = app_path.AppendASCII(locale_);
base::FilePath default_locale_app_path = app_path.AppendASCII("en-US");
- if (file_util::DirectoryExists(locale_app_path))
+ if (base::DirectoryExists(locale_app_path))
app_path = locale_app_path;
- else if (file_util::DirectoryExists(default_locale_app_path))
+ else if (base::DirectoryExists(default_locale_app_path))
app_path = default_locale_app_path;
#endif
« no previous file with comments | « chrome/browser/google/google_update_settings_posix.cc ('k') | chrome/browser/media_galleries/fileapi/picasa/picasa_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698