summaryrefslogtreecommitdiff
path: root/chromium/chrome/renderer/media/media_feeds.h
blob: 910a90e50d32f80348885fd6ca000e12200469ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_RENDERER_MEDIA_MEDIA_FEEDS_H_
#define CHROME_RENDERER_MEDIA_MEDIA_FEEDS_H_

#include "base/optional.h"

class GURL;

namespace content {
class RenderFrame;
}  // namespace content

class MediaFeeds {
 public:
  // Gets the Media Feed URL (if present).
  static base::Optional<GURL> GetMediaFeedURL(content::RenderFrame* frame);
};

#endif  // CHROME_RENDERER_MEDIA_MEDIA_FEEDS_H_