blob: 69ad7f8874fd5e1f504eaf3a8cae017f384e79e1 [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"
namespace blink {
class NetworkHintsInterface;
class CORE_EXPORT ResourcePreloader {
public:
virtual void takeAndPreload(PreloadRequestStream&);
private:
virtual void preload(PassOwnPtr<PreloadRequest>, const NetworkHintsInterface&) = 0;
};
}
#endif