blob: 5974d8a0b70d32f2b0eebcdb2c0e5554f389ea4d [file] [log] [blame]
// Copyright 2015 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 ResourcePreloader_h
#define ResourcePreloader_h
#include "core/CoreExport.h"
#include "core/html/parser/PreloadRequest.h"
#include <memory>
namespace blink {
class NetworkHintsInterface;
class CORE_EXPORT ResourcePreloader {
virtual void takeAndPreload(PreloadRequestStream&);
virtual void preload(std::unique_ptr<PreloadRequest>, const NetworkHintsInterface&) = 0;
} // namespace blink