chromium/chrome/browser/apps/intent_helper/intent_chip_display_prefs.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// Show the Intent Chip as collapsed after it has been shown expanded
// |kIntentChipCollapseThreshold| times.
constexpr int kIntentChipCollapseThreshold =;

constexpr char kIntentChipCountKey[] =;

// Retrieves or creates a new dictionary for the specific |url|.
base::Value GetAutoDisplayDictForSettings(
    const HostContentSettingsMap* settings,
    const GURL& url) {}

}  // namespace

// static
IntentChipDisplayPrefs::ChipState
IntentChipDisplayPrefs::GetChipStateAndIncrementCounter(Profile* profile,
                                                        const GURL& url) {}

// static
void IntentChipDisplayPrefs::ResetIntentChipCounter(Profile* profile,
                                                    const GURL& url) {}