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

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

Issue 18499: Replace cases of Append(FILE_PATH_LITERAL()) with AppendASCII(""). (Closed)
Patch Set: Created 11 years, 11 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
« no previous file with comments | « chrome/browser/history/starred_url_database_unittest.cc ('k') | chrome/browser/net/url_fetcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/firefox2_importer.cc
diff --git a/chrome/browser/importer/firefox2_importer.cc b/chrome/browser/importer/firefox2_importer.cc
index b2f61c1f1675de95c8b18583ed7a7a898756236b..67f24b476b785917c503503d574a46143eb1ae41 100644
--- a/chrome/browser/importer/firefox2_importer.cc
+++ b/chrome/browser/importer/firefox2_importer.cc
@@ -73,9 +73,9 @@ void Firefox2Importer::LoadDefaultBookmarks(const std::wstring& app_path,
// Firefox keeps its default bookmarks in a bookmarks.html file that
// lives at: <Firefox install dir>\defaults\profile\bookmarks.html
FilePath file = FilePath::FromWStringHack(app_path);
- file.Append(FILE_PATH_LITERAL("defaults"));
- file.Append(FILE_PATH_LITERAL("profile"));
- file.Append(FILE_PATH_LITERAL("bookmarks.html"));
+ file.AppendASCII("defaults");
+ file.AppendASCII("profile");
+ file.AppendASCII("bookmarks.html");
urls->clear();
« no previous file with comments | « chrome/browser/history/starred_url_database_unittest.cc ('k') | chrome/browser/net/url_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698