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

Unified Diff: chrome/browser/sessions/session_restore_uitest.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/session_history_uitest.cc ('k') | chrome/browser/visitedlink_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/session_restore_uitest.cc
diff --git a/chrome/browser/sessions/session_restore_uitest.cc b/chrome/browser/sessions/session_restore_uitest.cc
index ae8803e57ebd61dd389dc1f31b29c0cf4a3a821a..80fd0baf52a6bf4af7c74a5873fb0c398ccc3883 100644
--- a/chrome/browser/sessions/session_restore_uitest.cc
+++ b/chrome/browser/sessions/session_restore_uitest.cc
@@ -22,15 +22,15 @@ class SessionRestoreUITest : public UITest {
protected:
SessionRestoreUITest() : UITest() {
FilePath path_prefix = FilePath::FromWStringHack(test_data_directory_);
- path_prefix = path_prefix.Append(FILE_PATH_LITERAL("session_history"))
+ path_prefix = path_prefix.AppendASCII("session_history")
.Append(FilePath::StringType(&FilePath::kSeparators[0], 1));
url1 = net::FilePathToFileURL(
- path_prefix.Append(FILE_PATH_LITERAL("bot1.html")));
+ path_prefix.AppendASCII("bot1.html"));
url2 = net::FilePathToFileURL(
- path_prefix.Append(FILE_PATH_LITERAL("bot2.html")));
+ path_prefix.AppendASCII("bot2.html"));
url3 = net::FilePathToFileURL(
- path_prefix.Append(FILE_PATH_LITERAL("bot3.html")));
+ path_prefix.AppendASCII("bot3.html"));
}
virtual void QuitBrowserAndRestore() {
« no previous file with comments | « chrome/browser/session_history_uitest.cc ('k') | chrome/browser/visitedlink_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698