chromium/chrome/browser/download/download_test_file_activity_observer.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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;
}

// Test ChromeDownloadManagerDelegate that controls whether how file chooser
// dialogs are handled, and how files are opend.
// By default, file chooser dialogs are disabled.
class DownloadTestFileActivityObserver::MockDownloadManagerDelegate
    : public ChromeDownloadManagerDelegate {};

DownloadTestFileActivityObserver::DownloadTestFileActivityObserver(
    Profile* profile) {}

DownloadTestFileActivityObserver::~DownloadTestFileActivityObserver() {}

void DownloadTestFileActivityObserver::EnableFileChooser(bool enable) {}

bool DownloadTestFileActivityObserver::TestAndResetDidShowFileChooser() {}