chromium/components/subresource_filter/content/browser/profile_interaction_manager.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/subresource_filter/content/browser/profile_interaction_manager.h"

#include "base/check.h"
#include "base/logging.h"
#include "base/not_fatal_until.h"
#include "build/build_config.h"
#include "components/content_settings/browser/page_specific_content_settings.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/subresource_filter/content/browser/ads_intervention_manager.h"
#include "components/subresource_filter/content/browser/content_subresource_filter_throttle_manager.h"
#include "components/subresource_filter/content/browser/subresource_filter_content_settings_manager.h"
#include "components/subresource_filter/content/browser/subresource_filter_profile_context.h"
#include "components/subresource_filter/content/shared/common/subresource_filter_utils.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/navigation_handle.h"
#include "content/public/browser/page.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"

#if BUILDFLAG(IS_ANDROID)
#include "components/infobars/content/content_infobar_manager.h"  // nogncheck
#include "components/messages/android/message_dispatcher_bridge.h"
#include "components/messages/android/messages_feature.h"
#include "components/subresource_filter/content/browser/ads_blocked_infobar_delegate.h"
#endif

namespace subresource_filter {

ProfileInteractionManager::ProfileInteractionManager(
    SubresourceFilterProfileContext* profile_context)
    :{}

ProfileInteractionManager::~ProfileInteractionManager() = default;

void ProfileInteractionManager::DidCreatePage(content::Page& page) {}

void ProfileInteractionManager::OnReloadRequested() {}

// TODO(crbug.com/40721689): Consider adding reporting when
// ads violations are triggered.
void ProfileInteractionManager::OnAdsViolationTriggered(
    content::RenderFrameHost* rfh,
    mojom::AdsViolation triggered_violation) {}

mojom::ActivationLevel ProfileInteractionManager::OnPageActivationComputed(
    content::NavigationHandle* navigation_handle,
    mojom::ActivationLevel initial_activation_level,
    ActivationDecision* decision) {}

void ProfileInteractionManager::MaybeShowNotification() {}

content::WebContents* ProfileInteractionManager::GetWebContents() {}

}  // namespace subresource_filter