chromium/ui/base/dragdrop/download_file_interface.h

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

#ifndef UI_BASE_DRAGDROP_DOWNLOAD_FILE_INTERFACE_H_
#define UI_BASE_DRAGDROP_DOWNLOAD_FILE_INTERFACE_H_

#include "build/build_config.h"

#include "base/component_export.h"
#include "base/memory/ref_counted.h"

namespace base {
class FilePath;
}

namespace ui {

// Defines the interface to observe the status of file download.
class COMPONENT_EXPORT(UI_BASE_DATA_EXCHANGE) DownloadFileObserver
    : public base::RefCountedThreadSafe<DownloadFileObserver> {};

// Defines the interface to control how a file is downloaded.
class COMPONENT_EXPORT(UI_BASE_DATA_EXCHANGE) DownloadFileProvider {};

}  // namespace ui

#endif  // UI_BASE_DRAGDROP_DOWNLOAD_FILE_INTERFACE_H_