chromium/services/preferences/tracked/interceptable_pref_filter_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 "services/preferences/tracked/interceptable_pref_filter.h"

#include <string>
#include <utility>

#include "base/functional/bind.h"
#include "base/memory/weak_ptr.h"
#include "base/values.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace {

class TestInterceptablePrefFilter final : public InterceptablePrefFilter {};

void NoOpIntercept(InterceptablePrefFilter::FinalizeFilterOnLoadCallback
                       finalize_filter_on_load,
                   base::Value::Dict prefs) {}

void DeleteFilter(std::unique_ptr<TestInterceptablePrefFilter>* filter,
                  base::Value::Dict prefs,
                  bool schedule_write) {}

TEST(InterceptablePrefFilterTest, CallbackDeletes) {}

}  // namespace