chromium/chrome/updater/ipc/update_service_internal_proxy.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/updater/ipc/update_service_internal_proxy.h"

#include <optional>
#include <utility>

#include "base/functional/bind.h"
#include "base/functional/callback.h"

#if BUILDFLAG(IS_POSIX)
#include "chrome/updater/ipc/update_service_internal_proxy_posix.h"
#elif BUILDFLAG(IS_WIN)
#include "chrome/updater/ipc/update_service_internal_proxy_win.h"
#endif

namespace updater {

namespace {

// try_count is the number of attempts made so far.
bool CanRetry(int try_count) {}

}  // namespace

UpdateServiceInternalProxy::UpdateServiceInternalProxy(
    scoped_refptr<UpdateServiceInternalProxyImpl> proxy)
    :{}

UpdateServiceInternalProxy::~UpdateServiceInternalProxy() = default;

void UpdateServiceInternalProxy::Run(base::OnceClosure callback) {}

void UpdateServiceInternalProxy::Hello(base::OnceClosure callback) {}

void UpdateServiceInternalProxy::RunDone(base::OnceClosure callback,
                                         int try_count,
                                         std::optional<RpcError> error) {}

void UpdateServiceInternalProxy::HelloDone(base::OnceClosure callback,
                                           int try_count,
                                           std::optional<RpcError> error) {}

}  // namespace updater