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

Unified Diff: chrome/browser/history/starred_url_database_unittest.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
Index: chrome/browser/history/starred_url_database_unittest.cc
diff --git a/chrome/browser/history/starred_url_database_unittest.cc b/chrome/browser/history/starred_url_database_unittest.cc
index b570358965c0774bb98093e9992c17912d8fe89a..e1c8203441e1e3028312bb93fafe6f9b961c00a3 100644
--- a/chrome/browser/history/starred_url_database_unittest.cc
+++ b/chrome/browser/history/starred_url_database_unittest.cc
@@ -66,13 +66,13 @@ class StarredURLDatabaseTest : public testing::Test,
// Test setup.
void SetUp() {
PathService::Get(base::DIR_TEMP, &db_file_);
- db_file_ = db_file_.Append(FILE_PATH_LITERAL("VisitTest.db"));
+ db_file_ = db_file_.AppendASCII("VisitTest.db");
file_util::Delete(db_file_, false);
// Copy db file over that contains starred table.
FilePath old_history_path;
PathService::Get(chrome::DIR_TEST_DATA, &old_history_path);
- old_history_path = old_history_path.Append(FILE_PATH_LITERAL("bookmarks"));
+ old_history_path = old_history_path.AppendASCII("bookmarks");
old_history_path = old_history_path.Append(
FILE_PATH_LITERAL("History_with_empty_starred"));
file_util::CopyFile(old_history_path, db_file_);
« no previous file with comments | « chrome/browser/extensions/user_script_master_unittest.cc ('k') | chrome/browser/importer/firefox2_importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698