#include <memory>
#include "base/compiler_specific.h"
#include "base/run_loop.h"
#include "chrome/browser/download/download_core_service_factory.h"
#include "chrome/browser/download/download_core_service_impl.h"
#include "chrome/browser/download/download_item_model.h"
#include "chrome/browser/download/test_download_shelf.h"
#include "chrome/test/base/testing_profile.h"
#include "components/download/public/common/mock_download_item.h"
#include "content/public/browser/download_item_utils.h"
#include "content/public/test/browser_task_environment.h"
#include "content/public/test/mock_download_manager.h"
#include "extensions/common/extension.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
Return;
namespace {
class DownloadShelfTest : public testing::Test { … };
DownloadShelfTest::DownloadShelfTest() { … }
}
TEST_F(DownloadShelfTest, ClosesShelfWhenHidden) { … }
TEST_F(DownloadShelfTest, CloseWhileHiddenPreventsShowOnUnhide) { … }
TEST_F(DownloadShelfTest, UnhideDoesntShowIfNotShownOnHide) { … }
TEST_F(DownloadShelfTest, AddDownloadWhileHiddenUnhides) { … }
TEST_F(DownloadShelfTest, AddDownloadWhileHiddenUnhidesAndShows) { … }
TEST_F(DownloadShelfTest, AddNormalDownload) { … }
TEST_F(DownloadShelfTest, AddDelayedDownload) { … }
TEST_F(DownloadShelfTest, AddDelayedCompletedDownload) { … }