chromium/chrome/browser/ui/views/extensions/security_dialog_tracker.h

// 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.

#ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SECURITY_DIALOG_TRACKER_H_
#define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SECURITY_DIALOG_TRACKER_H_

#include "base/no_destructor.h"

namespace views {
class Widget;
}

class Browser;

namespace extensions {

// A singleton class for tracking security dialogs across browser windows and
// profiles. This class provides methods to add and remove dialogs that are
// considered security-sensitive, and to check if any such dialogs are visible
// in a given browser. This class is used to block extensions popups from
// opening when security dialogs are present.
class SecurityDialogTracker {};

}  // namespace extensions

#endif  // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SECURITY_DIALOG_TRACKER_H_