chromium/components/browsing_data/core/counters/history_counter.cc

// Copyright 2015 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/history_counter.h"

#include <limits.h>
#include <stdint.h>
#include <memory>

#include "base/functional/bind.h"
#include "base/timer/timer.h"
#include "components/browsing_data/core/pref_names.h"

namespace {
static const int64_t kWebHistoryTimeoutSeconds =;
}

namespace browsing_data {

HistoryCounter::HistoryCounter(history::HistoryService* history_service,
                               GetUpdatedWebHistoryServiceCallback callback,
                               syncer::SyncService* sync_service)
    :{}

HistoryCounter::~HistoryCounter() = default;

void HistoryCounter::OnInitialized() {}

bool HistoryCounter::HasTrackedTasksForTesting() {}

const char* HistoryCounter::GetPrefName() const {}

history::WebHistoryService* HistoryCounter::GetWebHistoryService() {}

void HistoryCounter::Count() {}

void HistoryCounter::OnGetLocalHistoryCount(
    history::HistoryCountResult result) {}

void HistoryCounter::OnGetWebHistoryCount(
    history::WebHistoryService::Request* request,
    base::optional_ref<const base::Value::Dict> result) {}

void HistoryCounter::OnWebHistoryTimeout() {}

void HistoryCounter::MergeResults() {}

bool HistoryCounter::IsHistorySyncEnabled(
    const syncer::SyncService* sync_service) {}

HistoryCounter::HistoryResult::HistoryResult(const HistoryCounter* source,
                                             ResultInt value,
                                             bool is_sync_enabled,
                                             bool has_synced_visits)
    :{}

HistoryCounter::HistoryResult::~HistoryResult() {}

}  // namespace browsing_data