diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-05 22:36:56 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-05 22:36:56 +0000 |
commit | 970399b3aaa0a7d76dd1743654d8e1f7aed41cec (patch) | |
tree | a28d79a6023270c5c5c46c9d651e892f5d313fae /chrome/browser/history/history_unittest.cc | |
parent | 749eea04dd5fd17761046e19c177735a8b9fa209 (diff) | |
download | chromium_src-970399b3aaa0a7d76dd1743654d8e1f7aed41cec.zip chromium_src-970399b3aaa0a7d76dd1743654d8e1f7aed41cec.tar.gz chromium_src-970399b3aaa0a7d76dd1743654d8e1f7aed41cec.tar.bz2 |
* 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
Diffstat (limited to 'chrome/browser/history/history_unittest.cc')
-rw-r--r-- | chrome/browser/history/history_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |