#include "chrome/updater/change_owners_task.h"
#include <sys/stat.h>
#include <unistd.h>
#include <string>
#include <utility>
#include <vector>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/logging.h"
#include "base/memory/scoped_refptr.h"
#include "base/task/thread_pool.h"
#include "chrome/updater/persisted_data.h"
#include "chrome/updater/updater_scope.h"
namespace updater {
namespace {
void UpdateOwner(const base::FilePath& path, UpdaterScope scope) { … }
void ChangeOwners(scoped_refptr<PersistedData> persisted_data,
UpdaterScope scope,
base::OnceClosure callback) { … }
}
base::OnceCallback<void(base::OnceClosure)> MakeChangeOwnersTask(
scoped_refptr<PersistedData> persisted_data,
UpdaterScope scope) { … }
}