| Index: chrome/browser/chromeos/file_manager/filesystem_api_util.cc
|
| diff --git a/chrome/browser/chromeos/file_manager/filesystem_api_util.cc b/chrome/browser/chromeos/file_manager/filesystem_api_util.cc
|
| index 7fdb66002178c5fa1319c855e2783a935b765469..102546e0676dc0f2df433f9f7b9b7ea8fc8b8b26 100644
|
| --- a/chrome/browser/chromeos/file_manager/filesystem_api_util.cc
|
| +++ b/chrome/browser/chromeos/file_manager/filesystem_api_util.cc
|
| @@ -49,8 +49,7 @@ void CheckWritableAfterDriveCheck(const base::Callback<void(bool)>& callback,
|
|
|
| } // namespace
|
|
|
| -bool IsUnderSpecialPath(Profile* profile,
|
| - const base::FilePath& path) {
|
| +bool IsUnderSpecialPath(Profile* profile, const base::FilePath& path) {
|
| DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
|
|
| // TODO(kinaba): support other types of volumes besides Drive.
|
| @@ -79,17 +78,14 @@ void GetSpecialPathMimeType(
|
| base::Bind(&GetMimeTypeAfterGetResourceEntry, callback));
|
| }
|
|
|
| -void IsSpecialPathDirectory(
|
| - Profile* profile,
|
| - const base::FilePath& path,
|
| - const base::Callback<void(bool)>& callback) {
|
| +void IsSpecialPathDirectory(Profile* profile,
|
| + const base::FilePath& path,
|
| + const base::Callback<void(bool)>& callback) {
|
| DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
|
|
| // TODO(kinaba): support other types of volumes besides Drive.
|
| drive::util::CheckDirectoryExists(
|
| - profile,
|
| - path,
|
| - base::Bind(&CheckDirectoryAfterDriveCheck, callback));
|
| + profile, path, base::Bind(&CheckDirectoryAfterDriveCheck, callback));
|
| }
|
|
|
| void PrepareSpecialPathWritableFile(
|
| @@ -100,9 +96,7 @@ void PrepareSpecialPathWritableFile(
|
|
|
| // TODO(kinaba): support other types of volumes besides Drive.
|
| drive::util::PrepareWritableFileAndRun(
|
| - profile,
|
| - path,
|
| - base::Bind(&CheckWritableAfterDriveCheck, callback));
|
| + profile, path, base::Bind(&CheckWritableAfterDriveCheck, callback));
|
| }
|
|
|
| } // namespace util
|
|
|