#include "chrome/browser/download/download_test_file_activity_observer.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/task/single_thread_task_runner.h"
#include "chrome/browser/download/chrome_download_manager_delegate.h"
#include "chrome/browser/download/download_core_service.h"
#include "chrome/browser/download/download_core_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "ui/shell_dialogs/selected_file_info.h"
namespace download {
class DownloadItem;
}
class DownloadTestFileActivityObserver::MockDownloadManagerDelegate
: public ChromeDownloadManagerDelegate { … };
DownloadTestFileActivityObserver::DownloadTestFileActivityObserver(
Profile* profile) { … }
DownloadTestFileActivityObserver::~DownloadTestFileActivityObserver() { … }
void DownloadTestFileActivityObserver::EnableFileChooser(bool enable) { … }
bool DownloadTestFileActivityObserver::TestAndResetDidShowFileChooser() { … }