chromium/chrome/updater/setup.h

// Copyright 2020 The Chromium Authors
// 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/functional/callback_forward.h"
#include "chrome/updater/updater_scope.h"

namespace updater {

// Installs the candidate, then posts |callback| to the main sequence. Must
// be called on the main sequence.
void InstallCandidate(UpdaterScope scope,
                      base::OnceCallback<void(int)> callback);

}  // namespace updater

#endif  // CHROME_UPDATER_SETUP_H_