1234567891011121314151617181920 |
- // Copyright 2019 The Chromium Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
- #ifndef REMOTING_HOST_FILE_TRANSFER_GET_DESKTOP_DIRECTORY_H_
- #define REMOTING_HOST_FILE_TRANSFER_GET_DESKTOP_DIRECTORY_H_
- #include "base/files/file_path.h"
- #include "remoting/protocol/file_transfer_helpers.h"
- namespace remoting {
- // Retrieves the path to the user's desktop folder. This should be run in the
- // context of the user, which on Windows means it must be run on the same
- // dedicated thread on which EnsureUser was called.
- protocol::FileTransferResult<base::FilePath> GetDesktopDirectory();
- } // namespace remoting
- #endif // REMOTING_HOST_FILE_TRANSFER_GET_DESKTOP_DIRECTORY_H_
|