From 970399b3aaa0a7d76dd1743654d8e1f7aed41cec Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Mon, 5 Jan 2009 22:36:56 +0000 Subject: * switch download manager to using FilePath * add empty() function to FilePath * implement file_util::GetFileExtensionFromPath Review URL: http://codereview.chromium.org/17032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7564 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/history/history_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/history/history_unittest.cc') diff --git a/chrome/browser/history/history_unittest.cc b/chrome/browser/history/history_unittest.cc index 11b58b0..2f10adb 100644 --- a/chrome/browser/history/history_unittest.cc +++ b/chrome/browser/history/history_unittest.cc @@ -193,8 +193,8 @@ class HistoryTest : public testing::Test { } int64 AddDownload(int32 state, const Time& time) { - DownloadCreateInfo download(L"foo-path", L"foo-url", time, - 0, 512, state, 0); + DownloadCreateInfo download(FilePath(FILE_PATH_LITERAL("foo-path")), + L"foo-url", time, 0, 512, state, 0); return db_->CreateDownload(download); } -- cgit v1.1