chromium/chrome/browser/feed/web_feed_tab_helper.h

// 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 CHROME_BROWSER_FEED_WEB_FEED_TAB_HELPER_H_
#define CHROME_BROWSER_FEED_WEB_FEED_TAB_HELPER_H_

#include <memory>

#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/ui/tabs/tab_enums.h"
#include "components/feed/core/v2/public/types.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/browser/web_contents_user_data.h"

namespace content {
class WebContents;
}

namespace feed {

// Per-tab class that monitors the navigations and stores the necessary info
// to facilitate the synchronous access to web feed information.
class WebFeedTabHelper : public content::WebContentsObserver,
                         public content::WebContentsUserData<WebFeedTabHelper> {};

}  // namespace feed

#endif  // CHROME_BROWSER_FEED_WEB_FEED_TAB_HELPER_H_