chromium/components/browsing_data/core/counters/browsing_data_counter_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/browsing_data/core/counters/browsing_data_counter.h"

#include <memory>
#include <vector>

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "components/browsing_data/core/pref_names.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace browsing_data {

namespace {

static const char* kTestingDatatypePref =;

class MockBrowsingDataCounter : public BrowsingDataCounter {};

}  // namespace

class BrowsingDataCounterTest : public testing::Test {};

TEST_F(BrowsingDataCounterTest, NoResponse) {}

TEST_F(BrowsingDataCounterTest, ImmediateResponse) {}

TEST_F(BrowsingDataCounterTest, ResponseWhileCalculatingIsShown) {}

TEST_F(BrowsingDataCounterTest, LateResponse) {}

TEST_F(BrowsingDataCounterTest, MultipleRuns) {}

TEST_F(BrowsingDataCounterTest, RestartingDoesntBreak) {}

TEST_F(BrowsingDataCounterTest, InitWithoutPeriodPref) {}

}  // namespace browsing_data