summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_manager_unittest.cc
diff options
context:
space:
mode:
authorachuith@chromium.org <achuith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-11 23:56:13 +0000
committerachuith@chromium.org <achuith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-11 23:56:13 +0000
commitb38de2ab471cd1975fbcbfe9f0ed5c4ec05f6408 (patch)
tree5c20f0f2ec1f111ca390251dc7be9fcd061be56f /chrome/browser/download/download_manager_unittest.cc
parent4bae577ea5e80c18d50cbfbd69892412a960a617 (diff)
downloadchromium_src-b38de2ab471cd1975fbcbfe9f0ed5c4ec05f6408.zip
chromium_src-b38de2ab471cd1975fbcbfe9f0ed5c4ec05f6408.tar.gz
chromium_src-b38de2ab471cd1975fbcbfe9f0ed5c4ec05f6408.tar.bz2
Enable DownloadManager.StartDownload
Replace faulty DCHECK in file_manager_dialogs that fails in unittests. BUG=77335 TEST=Run test 100 times. No failure. Review URL: http://codereview.chromium.org/6982021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85077 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_manager_unittest.cc')
-rw-r--r--chrome/browser/download/download_manager_unittest.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/download/download_manager_unittest.cc b/chrome/browser/download/download_manager_unittest.cc
index 9365846..271b1f9 100644
--- a/chrome/browser/download/download_manager_unittest.cc
+++ b/chrome/browser/download/download_manager_unittest.cc
@@ -290,8 +290,6 @@ class ItemObserver : public DownloadItem::Observer {
} // namespace
-#if !defined(OS_CHROMEOS)
-
TEST_F(DownloadManagerTest, StartDownload) {
BrowserThread io_thread(BrowserThread::IO, &message_loop_);
PrefService* prefs = profile_->GetPrefs();
@@ -335,8 +333,6 @@ TEST_F(DownloadManagerTest, StartDownload) {
}
}
-#endif // !defined(OS_CHROMEOS)
-
TEST_F(DownloadManagerTest, DownloadRenameTest) {
using ::testing::_;
using ::testing::CreateFunctor;