Commit d3a4998f authored by Tomasz Tylenda's avatar Tomasz Tylenda Committed by Commit Bot

Migrating base::Closure() to base::DoNothing().

BUG=764795
TESTED=build

Change-Id: I45723edb2defc663df4228f26fa82e543aab567c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2497741Reviewed-by: default avatarHidehiko Abe <hidehiko@chromium.org>
Commit-Queue: Tomasz Tylenda <ttylenda@chromium.org>
Cr-Commit-Position: refs/heads/master@{#828761}
parent 43344bfc
...@@ -45,7 +45,7 @@ void ArcContentFileSystemAsyncFileUtil::CreateOrOpen( ...@@ -45,7 +45,7 @@ void ArcContentFileSystemAsyncFileUtil::CreateOrOpen(
NOTIMPLEMENTED(); NOTIMPLEMENTED();
base::ThreadTaskRunnerHandle::Get()->PostTask( base::ThreadTaskRunnerHandle::Get()->PostTask(
FROM_HERE, FROM_HERE,
base::BindOnce(std::move(callback), base::File(), base::Closure())); base::BindOnce(std::move(callback), base::File(), base::OnceClosure()));
} }
void ArcContentFileSystemAsyncFileUtil::EnsureFileExists( void ArcContentFileSystemAsyncFileUtil::EnsureFileExists(
......
...@@ -297,7 +297,7 @@ void ArcDocumentsProviderAsyncFileUtil::CreateOrOpen( ...@@ -297,7 +297,7 @@ void ArcDocumentsProviderAsyncFileUtil::CreateOrOpen(
// TODO(nya): Implement this function if it is ever called. // TODO(nya): Implement this function if it is ever called.
NOTIMPLEMENTED(); NOTIMPLEMENTED();
std::move(callback).Run(base::File(base::File::FILE_ERROR_INVALID_OPERATION), std::move(callback).Run(base::File(base::File::FILE_ERROR_INVALID_OPERATION),
base::Closure()); base::OnceClosure());
} }
void ArcDocumentsProviderAsyncFileUtil::EnsureFileExists( void ArcDocumentsProviderAsyncFileUtil::EnsureFileExists(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment