#include "chrome/browser/upgrade_detector/build_state.h"
#include <tuple>
#include <utility>
#include "base/observer_list.h"
#include "chrome/browser/upgrade_detector/build_state_observer.h"
BuildState::BuildState() = default;
BuildState::~BuildState() { … }
void BuildState::SetUpdate(
UpdateType update_type,
const base::Version& installed_version,
const std::optional<base::Version>& critical_version) { … }
void BuildState::AddObserver(BuildStateObserver* observer) { … }
void BuildState::RemoveObserver(const BuildStateObserver* observer) { … }
bool BuildState::HasObserver(const BuildStateObserver* observer) const { … }
void BuildState::NotifyObserversOnUpdate() { … }