chromium/components/safe_browsing/content/browser/triggers/trigger_throttler_unittest.cc

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

#include "components/safe_browsing/content/browser/triggers/trigger_throttler.h"

#include "base/strings/stringprintf.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/simple_test_clock.h"
#include "components/prefs/testing_pref_service.h"
#include "components/safe_browsing/core/common/features.h"
#include "components/safe_browsing/core/common/safe_browsing_prefs.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

ElementsAre;

namespace safe_browsing {

class TriggerThrottlerTest : public ::testing::Test {};

TEST_F(TriggerThrottlerTest, SecurityInterstitialsHaveUnlimitedQuota) {}

TEST_F(TriggerThrottlerTest, SecurityInterstitialQuotaCanNotBeOverwritten) {}

TEST_F(TriggerThrottlerTest, TriggerQuotaSetToOne) {}

TEST_F(TriggerThrottlerTest, TriggerExceedsQuota) {}

TEST_F(TriggerThrottlerTest, TriggerQuotaResetsAfterOneDay) {}

TEST_F(TriggerThrottlerTest, TriggerQuotaPersistence) {}

class TriggerThrottlerTestFinch : public ::testing::Test {};

TEST_F(TriggerThrottlerTestFinch, AdSamplerDefaultQuota) {}

TEST_F(TriggerThrottlerTestFinch, SuspiciousSiteTriggerDefaultQuota) {}

}  // namespace safe_browsing