// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_OPEN_PROMPT_H_ #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_OPEN_PROMPT_H_ #include <string> #include "base/files/file_path.h" #include "base/functional/callback_forward.h" namespace content { class WebContents; } // Prompts the user for whether to open a DownloadItem using native UI. This // step is necessary to prevent a malicious extension from opening any // downloaded file. class DownloadOpenPrompt { … }; #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_OPEN_PROMPT_H_