blob: a82ea9c11e9bfb47a34eabcb7dffd46209292c22 [file] [log] [blame]
// Copyright 2018 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.
namespace base {
class FilePath;
// Fills |directory_path| with the FilePath to the downloads directory. Returns
// true if this is successful. This method does not create the directory, it
// just returns the path.
bool GetDownloadsDirectory(base::FilePath* directory_path);
// Asynchronously deletes downloads directory.
void DeleteDownloadsDirectory();