chromium/chrome/browser/dips/dips_navigation_flow_detector.cc

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

#include "chrome/browser/dips/dips_navigation_flow_detector.h"

#include "chrome/browser/dips/dips_storage.h"
#include "chrome/browser/dips/dips_utils.h"
#include "content/public/browser/cookie_access_details.h"
#include "content/public/browser/web_contents.h"
#include "services/metrics/public/cpp/metrics_utils.h"

PageVisitInfo::PageVisitInfo() {}

PageVisitInfo::PageVisitInfo(PageVisitInfo&& other) = default;

DipsNavigationFlowDetector::DipsNavigationFlowDetector(
    content::WebContents* web_contents,
    DIPSServiceImpl* dips_service)
    :{}

DipsNavigationFlowDetector::~DipsNavigationFlowDetector() = default;

/* static */
void DipsNavigationFlowDetector::MaybeCreateForWebContents(
    content::WebContents* web_contents) {}

void DipsNavigationFlowDetector::DidFinishNavigation(
    content::NavigationHandle* navigation_handle) {}

void DipsNavigationFlowDetector::CheckIfSiteHadPriorActivation(GURL url) {}

void DipsNavigationFlowDetector::GotDipsState(std::string site_read_state_for,
                                              const DIPSState dips_state) {}

void DipsNavigationFlowDetector::MaybeEmitUkmForPreviousPage() {}

void DipsNavigationFlowDetector::OnCookiesAccessed(
    content::RenderFrameHost* render_frame_host,
    const content::CookieAccessDetails& details) {}

void DipsNavigationFlowDetector::OnCookiesAccessed(
    content::NavigationHandle* navigation_handle,
    const content::CookieAccessDetails& details) {}

void DipsNavigationFlowDetector::NotifyStorageAccessed(
    content::RenderFrameHost* render_frame_host,
    blink::mojom::StorageTypeAccessed storage_type,
    bool blocked) {}

void DipsNavigationFlowDetector::FrameReceivedUserActivation(
    content::RenderFrameHost* render_frame_host) {}

void DipsNavigationFlowDetector::WebAuthnAssertionRequestSucceeded(
    content::RenderFrameHost* render_frame_host) {}

WEB_CONTENTS_USER_DATA_KEY_IMPL(DipsNavigationFlowDetector);