chromium/ios/chrome/browser/ui/settings/address_bar_preference/address_bar_preference_view_controller.h

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

#ifndef IOS_CHROME_BROWSER_UI_SETTINGS_ADDRESS_BAR_PREFERENCE_ADDRESS_BAR_PREFERENCE_VIEW_CONTROLLER_H_
#define IOS_CHROME_BROWSER_UI_SETTINGS_ADDRESS_BAR_PREFERENCE_ADDRESS_BAR_PREFERENCE_VIEW_CONTROLLER_H_

#import "ios/chrome/browser/ui/settings/address_bar_preference/address_bar_preference_consumer.h"
#import "ios/chrome/browser/ui/settings/settings_controller_protocol.h"
#import "ios/chrome/browser/ui/settings/settings_root_table_view_controller.h"

@protocol AddressBarPreferenceServiceDelegate;

// This class is the view controller for the address bar preference setting.
@interface AddressBarPreferenceViewController
    : SettingsRootTableViewController <AddressBarPreferenceConsumer,
                                       SettingsControllerProtocol>

@property(nonatomic, weak) id<AddressBarPreferenceServiceDelegate>
    prefServiceDelegate;

@end

#endif  // IOS_CHROME_BROWSER_UI_SETTINGS_ADDRESS_BAR_PREFERENCE_ADDRESS_BAR_PREFERENCE_VIEW_CONTROLLER_H_