#include "chrome/browser/apps/intent_helper/intent_chip_display_prefs.h"
#include "base/values.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/content_settings/core/common/content_settings_utils.h"
namespace {
constexpr int kIntentChipCollapseThreshold = …;
constexpr char kIntentChipCountKey[] = …;
base::Value GetAutoDisplayDictForSettings(
const HostContentSettingsMap* settings,
const GURL& url) { … }
}
IntentChipDisplayPrefs::ChipState
IntentChipDisplayPrefs::GetChipStateAndIncrementCounter(Profile* profile,
const GURL& url) { … }
void IntentChipDisplayPrefs::ResetIntentChipCounter(Profile* profile,
const GURL& url) { … }