summaryrefslogtreecommitdiff
path: root/chromium/chrome/renderer/subresource_redirect/subresource_redirect_experiments.h
blob: 5b13de439e8a2d9b231a14cd51b3b7193300dfe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2019 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_SUBRESOURCE_REDIRECT_SUBRESOURCE_REDIRECT_EXPERIMENTS_H_
#define CHROME_RENDERER_SUBRESOURCE_REDIRECT_SUBRESOURCE_REDIRECT_EXPERIMENTS_H_

#include "url/gurl.h"

namespace subresource_redirect {

// Returns true if the given url matches an included media suffix.
bool ShouldIncludeMediaSuffix(const GURL& url);

}  // namespace subresource_redirect

#endif  // CHROME_RENDERER_SUBRESOURCE_REDIRECT_SUBRESOURCE_REDIRECT_EXPERIMENTS_H_