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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_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
« no previous file with comments | « chrome/browser/net/url_fetcher_unittest.cc ('k') | chrome/browser/session_history_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/safe_browsing_database_unittest.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc b/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc
index 62910c5b24dd7aea5a3cd1ce07a387eb5bc90813..0713e7d7c69ee4d1db9045a88ee0693aadc9a8e4 100644
--- a/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc
@@ -62,7 +62,7 @@ namespace {
std::wstring GetTestDatabaseName() {
FilePath filename;
PathService::Get(base::DIR_TEMP, &filename);
- filename = filename.Append(FILE_PATH_LITERAL("SafeBrowsingTestDatabase"));
+ filename = filename.AppendASCII("SafeBrowsingTestDatabase");
return filename.ToWStringHack();
}
@@ -1048,7 +1048,7 @@ void PeformUpdate(const std::wstring& initial_db,
FilePath path;
PathService::Get(base::DIR_TEMP, &path);
- path = path.Append(FILE_PATH_LITERAL("SafeBrowsingTestDatabase"));
+ path = path.AppendASCII("SafeBrowsingTestDatabase");
std::wstring filename = path.ToWStringHack();
// In case it existed from a previous run.
« no previous file with comments | « chrome/browser/net/url_fetcher_unittest.cc ('k') | chrome/browser/session_history_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698