// 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.

#import "ios/chrome/browser/browser_content/ui_bundled/edit_menu_alert_delegate.h"

@implementation EditMenuAlertDelegateAction
- (instancetype)initWithTitle:(NSString*)title
                       action:(ProceduralBlock)action
                        style:(UIAlertActionStyle)style
                    preferred:(BOOL)preferred {
  self = [super init];
  if (self) {
    _title = [title copy];
    _action = action;
    _style = style;
    _preferred = preferred;
  }
  return self;
}

@end
