// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_FILE_SYSTEM_ACCESS_FILE_SYSTEM_ACCESS_SAFE_MOVE_HELPER_H_ #define CONTENT_BROWSER_FILE_SYSTEM_ACCESS_FILE_SYSTEM_ACCESS_SAFE_MOVE_HELPER_H_ #include "base/files/file.h" #include "base/sequence_checker.h" #include "base/thread_annotations.h" #include "components/download/public/common/quarantine_connection.h" #include "content/browser/file_system_access/file_system_access_manager_impl.h" #include "content/common/content_export.h" #include "storage/browser/file_system/file_system_url.h" namespace content { // TODO(crbug.com/40198034): Support safely moving directories. For now, this // class only supports moving files. Moving directories will require running // safe browsing checks on all files before moving. // // Helper class which moves files (and eventually directories). Safe browsing // checks are performed and the mark of the web is added for certain file system // types, as appropriate. class CONTENT_EXPORT FileSystemAccessSafeMoveHelper { … }; } // namespace content #endif // CONTENT_BROWSER_FILE_SYSTEM_ACCESS_FILE_SYSTEM_ACCESS_SAFE_MOVE_HELPER_H_