// 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_WEBUI_TOP_CHROME_PER_PROFILE_WEBUI_TRACKER_H_ #define CHROME_BROWSER_UI_WEBUI_TOP_CHROME_PER_PROFILE_WEBUI_TRACKER_H_ #include <memory> #include <string> #include "base/observer_list_types.h" namespace content { class WebContents; } // namespace content class Profile; // PerProfileWebUITracker tracks WebUIs associated with a profile. It provides // an API to query if a profile has any WebUI instances of a given URL. This // class considers only the existence of a WebUI's WebContents, ignoring its // status. class PerProfileWebUITracker { … }; #endif // CHROME_BROWSER_UI_WEBUI_TOP_CHROME_PER_PROFILE_WEBUI_TRACKER_H_