chromium/chrome/browser/safe_browsing/test_safe_browsing_navigation_observer_manager.cc

// Copyright 2022 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/safe_browsing/test_safe_browsing_navigation_observer_manager.h"

#include <memory>

#include "build/build_config.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager_factory.h"
#include "chrome/browser/ui/browser.h"
#include "components/safe_browsing/content/browser/safe_browsing_navigation_observer.h"
#include "content/public/browser/storage_partition.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace safe_browsing {

InnerContentsCreationObserver::InnerContentsCreationObserver(
    content::WebContents* web_contents,
    base::RepeatingCallback<void(content::WebContents*)>
        on_inner_contents_created)
    :{}

InnerContentsCreationObserver::~InnerContentsCreationObserver() = default;

// WebContentsObserver:
void InnerContentsCreationObserver::InnerWebContentsCreated(
    content::WebContents* inner_web_contents) {}

TestSafeBrowsingNavigationObserverManager::
    TestSafeBrowsingNavigationObserverManager(Browser* browser)
    :{}
TestSafeBrowsingNavigationObserverManager::
    ~TestSafeBrowsingNavigationObserverManager() = default;

void TestSafeBrowsingNavigationObserverManager::ObserveContents(
    content::WebContents* contents) {}

// TabStripModelObserver:
void TestSafeBrowsingNavigationObserverManager::OnTabStripModelChanged(
    TabStripModel* tab_strip_model,
    const TabStripModelChange& change,
    const TabStripSelectionChange& selection) {}

}  // namespace safe_browsing