blob: 247ee4196edea3b861441c078722f39fc2e7a083 [file] [log] [blame]
// Copyright 2020 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 CHROME_UPDATER_SETUP_H_
#define CHROME_UPDATER_SETUP_H_
#include "base/callback_forward.h"
#include "base/memory/ref_counted.h"
namespace base {
class TaskRunner;
} // namespace base
namespace updater {
// Installs the candidate, then posts |callback| to |runner|.
void InstallCandidate(bool is_machine,
scoped_refptr<base::TaskRunner> runner,
base::OnceCallback<void(int)> callback);
} // namespace updater
#endif // CHROME_UPDATER_SETUP_H_