#include "components/segmentation_platform/internal/signals/signal_handler.h"
#include "base/check_is_test.h"
#include "base/feature_list.h"
#include "components/segmentation_platform/internal/constants.h"
#include "components/segmentation_platform/internal/database/storage_service.h"
#include "components/segmentation_platform/internal/signals/histogram_signal_handler.h"
#include "components/segmentation_platform/internal/signals/history_service_observer.h"
#include "components/segmentation_platform/internal/signals/signal_filter_processor.h"
#include "components/segmentation_platform/internal/signals/user_action_signal_handler.h"
#include "components/segmentation_platform/internal/ukm_data_manager.h"
namespace segmentation_platform {
namespace {
BASE_FEATURE(…);
}
SignalHandler::SignalHandler() = default;
SignalHandler::~SignalHandler() = default;
void SignalHandler::Initialize(
StorageService* storage_service,
history::HistoryService* history_service,
PrefService* profile_prefs,
const base::flat_set<proto::SegmentId>& segment_ids,
const std::string& profile_id,
base::RepeatingClosure models_refresh_callback) { … }
void SignalHandler::TearDown() { … }
void SignalHandler::EnableMetrics(bool signal_collection_allowed) { … }
void SignalHandler::OnSignalListUpdated() { … }
}