#ifndef Cache_h
#define Cache_h
#include "bindings/v8/ScriptWrappable.h"
#include "wtf/Forward.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
#include "wtf/Vector.h"
namespace WebCore {
class ExecutionContext;
class ScriptPromise;
class Cache FINAL : public RefCounted<Cache>, public ScriptWrappable {
public:
static PassRefPtr<Cache> create(const Vector<String>& urlStrings);
~Cache();
ScriptPromise match(ExecutionContext*, const String& urlString);
ScriptPromise ready(ExecutionContext*);
private:
Cache();
};
}
#endif