diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-23 20:01:48 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-23 20:01:48 +0000 |
commit | ec865268f9c9c9ef34f211a1257851b0482d1870 (patch) | |
tree | a26e4fe1542555c296879265d188298d2caecf10 /chrome/browser/download/download_manager_unittest.cc | |
parent | 7a9b03e386c6ca34575c1819ba0ad413a15e2d76 (diff) | |
download | chromium_src-ec865268f9c9c9ef34f211a1257851b0482d1870.zip chromium_src-ec865268f9c9c9ef34f211a1257851b0482d1870.tar.gz chromium_src-ec865268f9c9c9ef34f211a1257851b0482d1870.tar.bz2 |
Remove the last Chrome include from content downloads code. This moves some methods from download_util related to adding a number to the end of a path, and generating a unique filename.
BUG=82782
Review URL: http://codereview.chromium.org/7717003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97902 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_manager_unittest.cc')
-rw-r--r-- | chrome/browser/download/download_manager_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/download/download_manager_unittest.cc b/chrome/browser/download/download_manager_unittest.cc index cd1a66c..36849eb 100644 --- a/chrome/browser/download/download_manager_unittest.cc +++ b/chrome/browser/download/download_manager_unittest.cc @@ -568,10 +568,10 @@ TEST_F(DownloadManagerTest, DownloadOverwriteTest) { // Construct the unique file name that normally would be created, but // which we will override. - int uniquifier = download_util::GetUniquePathNumber(new_path); + int uniquifier = DownloadFile::GetUniquePathNumber(new_path); FilePath unique_new_path = new_path; EXPECT_NE(0, uniquifier); - download_util::AppendNumberToPath(&unique_new_path, uniquifier); + DownloadFile::AppendNumberToPath(&unique_new_path, uniquifier); // Normally, the download system takes ownership of info, and is // responsible for deleting it. In these unit tests, however, we |