blob: f57abaa7c7bd2319973ed5dad4aa57c4b100e251 [file] [log] [blame]
// 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_