blob: 5cb4f3fecaf0b2fde649f3a847275fdb2fca3e7c [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 GlobalCacheStorage_h
#define GlobalCacheStorage_h
#include "platform/wtf/Allocator.h"
namespace blink {
class CacheStorage;
class ExceptionState;
class LocalDOMWindow;
class WorkerGlobalScope;
class GlobalCacheStorage {
STATIC_ONLY(GlobalCacheStorage);
public:
static CacheStorage* caches(LocalDOMWindow&, ExceptionState&);
static CacheStorage* caches(WorkerGlobalScope&, ExceptionState&);
};
} // namespace blink
#endif // GlobalCacheStorage_h