chromium/chrome/browser/safe_browsing/incident_reporting/state_store.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 "chrome/browser/safe_browsing/incident_reporting/state_store.h"

#include <memory>
#include <utility>

#include "base/metrics/histogram_macros.h"
#include "base/strings/string_number_conversions.h"
#include "base/values.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/safe_browsing/incident_reporting/incident.h"
#include "chrome/browser/safe_browsing/incident_reporting/platform_state_store.h"
#include "components/prefs/pref_service.h"
#include "components/safe_browsing/core/common/safe_browsing_prefs.h"

namespace safe_browsing {

// StateStore::Transaction -----------------------------------------------------

StateStore::Transaction::Transaction(StateStore* store) :{}

StateStore::Transaction::~Transaction() {}

void StateStore::Transaction::MarkAsReported(IncidentType type,
                                             const std::string& key,
                                             IncidentDigest digest) {}

void StateStore::Transaction::Clear(IncidentType type, const std::string& key) {}

void StateStore::Transaction::ClearForType(IncidentType type) {}

void StateStore::Transaction::ClearAll() {}

base::Value::Dict& StateStore::Transaction::GetPrefDict() {}

void StateStore::Transaction::ReplacePrefDict(base::Value::Dict pref_dict) {}

// StateStore ------------------------------------------------------------------

StateStore::StateStore(Profile* profile)
    :{}

StateStore::~StateStore() {}

bool StateStore::HasBeenReported(IncidentType type,
                                 const std::string& key,
                                 IncidentDigest digest) {}

void StateStore::CleanLegacyValues(Transaction* transaction) {}

}  // namespace safe_browsing