// 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. #ifndef COMPONENTS_BROWSING_TOPICS_BROWSING_TOPICS_PAGE_LOAD_DATA_TRACKER_H_ #define COMPONENTS_BROWSING_TOPICS_BROWSING_TOPICS_PAGE_LOAD_DATA_TRACKER_H_ #include "base/containers/flat_set.h" #include "components/browsing_topics/common/common_types.h" #include "content/public/browser/page_user_data.h" namespace history { class HistoryService; } // namespace history namespace browsing_topics { // Tracks several page-level (i.e. primary main frame document) Topics signals, // such as whether the page is eligible to be included in topics calculation // (i.e. to "observe" topics), the context domains that have requested to // observe topics, the client side redirect chain's status, etc. class BrowsingTopicsPageLoadDataTracker : public content::PageUserData<BrowsingTopicsPageLoadDataTracker> { … }; } // namespace browsing_topics #endif // COMPONENTS_BROWSING_TOPICS_BROWSING_TOPICS_PAGE_LOAD_DATA_TRACKER_H_