// 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_SETTINGS_UI_BUNDLED_TABS_TABS_SETTINGS_CONSUMER_H_
#define IOS_CHROME_BROWSER_SETTINGS_UI_BUNDLED_TABS_TABS_SETTINGS_CONSUMER_H_

// The consumer protocol for the tabs settings.
@protocol TabsSettingsConsumer

// Called when the value of prefs::kInactiveTabsTimeThreshold changed.
- (void)setInactiveTabsTimeThreshold:(int)threshold;

// Called when the value of prefs::kAutomaticallyOpenTabGroupsEnabled changed.
- (void)setAutomaticallyOpenTabGroupsEnabled:(BOOL)enabled;

// Called when the value of prefs::kStartSurfaceEnabled changed.
- (void)setStartSurfaceEnabled:(BOOL)enabled;

@end

#endif  // IOS_CHROME_BROWSER_SETTINGS_UI_BUNDLED_TABS_TABS_SETTINGS_CONSUMER_H_
