From ceeb87e90224c8743995b999661eede7c31b6346 Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Thu, 4 Dec 2008 20:46:06 +0000 Subject: Get rid of kPathSeparator on windows. Port some wstring function to take FilePaths. Re-enable relevant posix unit tests. Review URL: http://codereview.chromium.org/12893 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6387 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/test/tab_switching/tab_switching_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/test/tab_switching/tab_switching_test.cc') diff --git a/chrome/test/tab_switching/tab_switching_test.cc b/chrome/test/tab_switching/tab_switching_test.cc index 14a993a..612181c 100644 --- a/chrome/test/tab_switching/tab_switching_test.cc +++ b/chrome/test/tab_switching/tab_switching_test.cc @@ -33,7 +33,7 @@ class TabSwitchingUITest : public UITest { 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 @@ class TabSwitchingUITest : public UITest { 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++; -- cgit v1.1