| Index: content/browser/download/download_browsertest.cc
|
| diff --git a/content/browser/download/download_browsertest.cc b/content/browser/download/download_browsertest.cc
|
| index d5725278fb5d5a92512866858ed333928bae0f48..5956bf56b22067a8dcdbc165e4fe393c2036d9b7 100644
|
| --- a/content/browser/download/download_browsertest.cc
|
| +++ b/content/browser/download/download_browsertest.cc
|
| @@ -270,10 +270,6 @@ void DownloadFileWithDelayFactory::WaitForSomeCallback() {
|
| }
|
| }
|
|
|
| -bool WasPersisted(DownloadItem* item) {
|
| - return item->IsPersisted();
|
| -}
|
| -
|
| class CountingDownloadFile : public DownloadFileImpl {
|
| public:
|
| CountingDownloadFile(
|
| @@ -674,9 +670,6 @@ IN_PROC_BROWSER_TEST_F(DownloadContentTest, ShutdownInProgress) {
|
| ASSERT_EQ(1u, items.size());
|
| EXPECT_EQ(DownloadItem::IN_PROGRESS, items[0]->GetState());
|
|
|
| - // Wait for it to be persisted.
|
| - DownloadUpdatedObserver(items[0], base::Bind(&WasPersisted)).WaitForEvent();
|
| -
|
| // Shutdown the download manager and make sure we get the right
|
| // notifications in the right order.
|
| StrictMock<MockDownloadItemObserver> item_observer;
|
|
|