chromium/chrome/updater/app/app_install_progress.h

// Copyright 2019 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_APP_APP_INSTALL_PROGRESS_H_
#define CHROME_UPDATER_APP_APP_INSTALL_PROGRESS_H_

#include <cstdint>
#include <optional>
#include <string>
#include <vector>

#include "base/notreached.h"
#include "url/gurl.h"

namespace base {
class Time;
class TimeDelta;
class Version;
}  // namespace base

// The data structures defined in this file are similar to those defined
// defined in Omaha. Keep them as they are for now for documentation purposes
// until https://crbug.com/1014630 has been fixed.
namespace updater {

enum class CompletionCodes {};

inline bool IsCompletionCodeSuccess(CompletionCodes completion_code) {}

struct AppCompletionInfo {};

struct ObserverCompletionInfo {};

// Defines an interface for observing install progress. This interface is
// typically implemented by a progress window.
class AppInstallProgress {};

}  // namespace updater

#endif  // CHROME_UPDATER_APP_APP_INSTALL_PROGRESS_H_