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

#include <memory>
#include <utility>
#include <vector>

#include "base/functional/bind.h"
#include "base/trace_event/trace_event.h"
#include "components/browsing_data/core/browsing_data_utils.h"
#include "components/browsing_data/core/pref_names.h"
#include "components/prefs/pref_service.h"

namespace browsing_data {

namespace {
static const int kDelayUntilShowCalculatingMs =;
static const int kDelayUntilReadyToShowResultMs =;
}

BrowsingDataCounter::BrowsingDataCounter()
    :{}

BrowsingDataCounter::~BrowsingDataCounter() {}

void BrowsingDataCounter::Init(PrefService* pref_service,
                               ClearBrowsingDataTab clear_browsing_data_tab,
                               ResultCallback callback) {}

void BrowsingDataCounter::InitWithoutPeriodPref(
    PrefService* pref_service,
    ClearBrowsingDataTab clear_browsing_data_tab,
    base::Time begin_time,
    ResultCallback callback) {}

void BrowsingDataCounter::InitWithoutPref(base::Time begin_time,
                                          ResultCallback callback) {}

void BrowsingDataCounter::OnInitialized() {}

base::Time BrowsingDataCounter::GetPeriodStart() {}

base::Time BrowsingDataCounter::GetPeriodEnd() {}

void BrowsingDataCounter::Restart() {}

void BrowsingDataCounter::SetBeginTime(base::Time begin_time) {}

void BrowsingDataCounter::ReportResult(ResultInt value) {}

void BrowsingDataCounter::ReportResult(std::unique_ptr<Result> result) {}

void BrowsingDataCounter::DoReportResult(std::unique_ptr<Result> result) {}

const std::vector<BrowsingDataCounter::State>&
BrowsingDataCounter::GetStateTransitionsForTesting() {}

ClearBrowsingDataTab BrowsingDataCounter::GetTab() const {}

void BrowsingDataCounter::TransitionToShowCalculating() {}

void BrowsingDataCounter::TransitionToReadyToReportResult() {}

// BrowsingDataCounter::Result -------------------------------------------------

BrowsingDataCounter::Result::Result(const BrowsingDataCounter* source)
    :{}

BrowsingDataCounter::Result::~Result() {}

bool BrowsingDataCounter::Result::Finished() const {}

// BrowsingDataCounter::FinishedResult -----------------------------------------

BrowsingDataCounter::FinishedResult::FinishedResult(
    const BrowsingDataCounter* source,
    ResultInt value)
    :{}

BrowsingDataCounter::FinishedResult::~FinishedResult() {}

bool BrowsingDataCounter::FinishedResult::Finished() const {}

BrowsingDataCounter::ResultInt BrowsingDataCounter::FinishedResult::Value()
    const {}

// BrowsingDataCounter::SyncResult -----------------------------------------

BrowsingDataCounter::SyncResult::SyncResult(const BrowsingDataCounter* source,
                                            ResultInt value,
                                            bool sync_enabled)
    :{}

BrowsingDataCounter::SyncResult::~SyncResult() {}

}  // namespace browsing_data