blob: 65be06e6857ed2b27cb788adb53846f5d3645888 [file] [log] [blame]
// 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_UTIL_H_
#define CHROME_RENDERER_SUBRESOURCE_REDIRECT_SUBRESOURCE_REDIRECT_UTIL_H_
#include "url/gurl.h"
namespace subresource_redirect {
// Gets the new URL for the compressed version of the image resource to enable
// internal redirects.
GURL GetSubresourceURLForURL(const GURL& original_url);
// Gets the URL for the compression server.
GURL GetLitePageSubresourceDomainURL();
} // namespace subresource_redirect
#endif // CHROME_RENDERER_SUBRESOURCE_REDIRECT_SUBRESOURCE_REDIRECT_UTIL_H_