#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) { … }
}