DescriptionThe apitest needs a handler on the testserver that does not return a dangerous file and finishes quickly. "/slow?0" appears to work.
DownloadRequestHandle::GetTabContents() returns NULL in the test framework. Make DRH::GetDownloadManager() use RVH->process().browser_context() directly instead.
Make MockDownloadManagerDelegate::AddItemToPersistentStore() call DM::OnItemAddedToPersistentStore() so that items are added to the history_downloads_ map even in the test framework.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106560
Patch Set 1 : " #
Total comments: 4
Patch Set 2 : fix segv #
Total comments: 4
Patch Set 3 : listenOnce, safe_fast_url #
Total comments: 2
Patch Set 4 : merge #
Messages
Total messages: 9 (0 generated)
|