// Copyright 2019 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 "chrome/test/base/testing_profile.h" #include "content/public/test/browser_task_environment.h" #include "testing/gtest/include/gtest/gtest.h" #include "url/gurl.h" PickerPrefs; class IntentChipDisplayPrefsTest : public testing::Test { … }; TEST_F(IntentChipDisplayPrefsTest, ResetIntentChipCounter) { … } // Checks that calling GetChipStateAndIncrementCounter tracks views per-URL // and collapses the chip after a fixed number of views. TEST_F(IntentChipDisplayPrefsTest, GetChipStateAndIncrementCounter) { … }