chromium/ios/chrome/browser/shared/ui/util/identity_snackbar/identity_snackbar_message.h

// Copyright 2024 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_SHARED_UI_UTIL_IDENTITY_SNACKBAR_IDENTITY_SNACKBAR_MESSAGE_H_
#define IOS_CHROME_BROWSER_SHARED_UI_UTIL_IDENTITY_SNACKBAR_IDENTITY_SNACKBAR_MESSAGE_H_

#import <MaterialComponents/MaterialSnackbar.h>

// A snackbar message that contains profile information of the current logged in
//  account.
@interface IdentitySnackbarMessage : MDCSnackbarMessage

// The avatar to display in the snackbar.
@property(nonatomic, readonly) UIImage* avatar;

// The name to display in the snackbar.
@property(nonatomic, readonly) NSString* name;

// The email to display in the snackbar.
@property(nonatomic, readonly) NSString* email;

- (instancetype)initWithName:(NSString*)name
                       email:(NSString*)email
                      avatar:(UIImage*)avatar;

- (instancetype)init NS_UNAVAILABLE;

@end

#endif  // IOS_CHROME_BROWSER_SHARED_UI_UTIL_IDENTITY_SNACKBAR_IDENTITY_SNACKBAR_MESSAGE_H_