platform_util_internal.h 686 B

1234567891011121314151617181920212223242526
  1. // Copyright (c) 2020 Slack Technologies, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #ifndef SHELL_COMMON_PLATFORM_UTIL_INTERNAL_H_
  5. #define SHELL_COMMON_PLATFORM_UTIL_INTERNAL_H_
  6. #include "shell/common/platform_util.h"
  7. #include <string>
  8. namespace base {
  9. class FilePath;
  10. }
  11. namespace platform_util {
  12. namespace internal {
  13. // Called by platform_util.cc on to invoke platform specific logic to move
  14. // |path| to trash using a suitable handler.
  15. bool PlatformTrashItem(const base::FilePath& path, std::string* error);
  16. } // namespace internal
  17. } // namespace platform_util
  18. #endif // SHELL_COMMON_PLATFORM_UTIL_INTERNAL_H_