chromium/ios/chrome/browser/ui/whats_new/promo/whats_new_scene_agent.h

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

#ifndef IOS_CHROME_BROWSER_UI_WHATS_NEW_PROMO_WHATS_NEW_SCENE_AGENT_H_
#define IOS_CHROME_BROWSER_UI_WHATS_NEW_PROMO_WHATS_NEW_SCENE_AGENT_H_

#import <Foundation/Foundation.h>

#import "ios/chrome/browser/shared/coordinator/scene/observing_scene_state_agent.h"

class PromosManager;

// A scene agent that registers the What's New promo in the promo manager on
// SceneActivationLevelForegroundActive.
@interface WhatsNewSceneAgent : ObservingSceneAgent

- (instancetype)initWithPromosManager:(PromosManager*)promosManager;

@end

#endif  // IOS_CHROME_BROWSER_UI_WHATS_NEW_PROMO_WHATS_NEW_SCENE_AGENT_H_