chromium/chrome/browser/ui/webui/tab_strip/tab_before_unload_tracker.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 "chrome/browser/ui/webui/tab_strip/tab_before_unload_tracker.h"

#include <memory>
#include "base/memory/raw_ptr.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_observer.h"

namespace tab_strip_ui {

TabBeforeUnloadTracker::TabBeforeUnloadTracker(
    TabCloseCancelledCallback cancelled_callback)
    :{}
TabBeforeUnloadTracker::~TabBeforeUnloadTracker() = default;

void TabBeforeUnloadTracker::Observe(content::WebContents* contents) {}

void TabBeforeUnloadTracker::Unobserve(content::WebContents* contents) {}

void TabBeforeUnloadTracker::OnBeforeUnloadDialogCancelled(
    content::WebContents* contents) {}

class TabBeforeUnloadTracker::TabObserver
    : public content::WebContentsObserver {};

}  // namespace tab_strip_ui