chromium/ios/chrome/browser/ui/content_suggestions/cells/shortcuts_consumer.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_UI_CONTENT_SUGGESTIONS_CELLS_SHORTCUTS_CONSUMER_H_
#define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CELLS_SHORTCUTS_CONSUMER_H_

@class ContentSuggestionsMostVisitedActionItem;

// Interface for listening to events occurring in ShortcutsMediator.
@protocol ShortcutsConsumer
@optional
// Indicates that the `config` has been updated.
- (void)shortcutsItemConfigDidChange:
    (ContentSuggestionsMostVisitedActionItem*)config;

@end

#endif  // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CELLS_SHORTCUTS_CONSUMER_H_