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/browser/download/download_uitest.cc | 2 +- chrome/browser/download/save_page_uitest.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/download') diff --git a/chrome/browser/download/download_uitest.cc b/chrome/browser/download/download_uitest.cc index 92e826f..52d67ba 100644 --- a/chrome/browser/download/download_uitest.cc +++ b/chrome/browser/download/download_uitest.cc @@ -102,7 +102,7 @@ class DownloadTest : public UITest { virtual void SetUp() { UITest::SetUp(); download_prefix_ = GetDownloadDirectory(); - download_prefix_ += file_util::kPathSeparator; + download_prefix_ += FilePath::kSeparators[0]; } protected: diff --git a/chrome/browser/download/save_page_uitest.cc b/chrome/browser/download/save_page_uitest.cc index 551c335..0c75c21 100644 --- a/chrome/browser/download/save_page_uitest.cc +++ b/chrome/browser/download/save_page_uitest.cc @@ -52,7 +52,7 @@ class SavePageTest : public UITest { virtual void SetUp() { UITest::SetUp(); EXPECT_TRUE(file_util::CreateNewTempDirectory(L"", &save_dir_)); - save_dir_ += file_util::kPathSeparator; + save_dir_ += FilePath::kSeparators[0]; } std::wstring save_dir_; -- cgit v1.1