#ifndef COMPONENTS_SAFE_BROWSING_CONTENT_BROWSER_TRIGGERS_AD_SAMPLER_TRIGGER_H_
#define COMPONENTS_SAFE_BROWSING_CONTENT_BROWSER_TRIGGERS_AD_SAMPLER_TRIGGER_H_
#include "base/gtest_prod_util.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/task/sequenced_task_runner.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/browser/web_contents_user_data.h"
class PrefService;
namespace history {
class HistoryService;
}
namespace network {
class SharedURLLoaderFactory;
}
namespace safe_browsing {
class ReferrerChainProvider;
class TriggerManager;
extern const char kAdSamplerFrequencyDenominatorParam[];
extern const size_t kAdSamplerDefaultFrequency;
extern const size_t kAdSamplerFrequencyDisabled;
extern const char kAdSamplerTriggerActionMetricName[];
enum AdSamplerTriggerAction { … };
class AdSamplerTrigger : public content::WebContentsObserver,
public content::WebContentsUserData<AdSamplerTrigger> { … };
}
#endif