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

Unified Diff: chrome/test/tab_switching/tab_switching_test.cc

Issue 12893: Get rid of kPathSeparator on windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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/webdata/web_database_unittest.cc ('k') | net/base/net_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/tab_switching/tab_switching_test.cc
===================================================================
--- chrome/test/tab_switching/tab_switching_test.cc (revision 6271)
+++ chrome/test/tab_switching/tab_switching_test.cc (working copy)
@@ -33,7 +33,7 @@
file_util::UpOneDirectory(&path_prefix_);
file_util::AppendToPath(&path_prefix_, L"data");
file_util::AppendToPath(&path_prefix_, L"tab_switching");
- path_prefix_ += file_util::kPathSeparator;
+ path_prefix_ += FilePath::kSeparators[0];
show_window_ = true;
}
@@ -120,7 +120,7 @@
for (int i = 0; i < arraysize(files); ++i) {
file_name = path_prefix_;
file_name += files[i];
- file_name += file_util::kPathSeparator;
+ file_name += FilePath::kSeparators[0];
file_name += L"index.html";
browser_proxy_->AppendTab(net::FilePathToFileURL(file_name));
number_of_new_tabs_opened++;
« no previous file with comments | « chrome/browser/webdata/web_database_unittest.cc ('k') | net/base/net_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698