blob: d20a6ec2885253431bcb19b222e2d8980005525a [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 THIRD_PARTY_BLINK_RENDERER_MODULES_CACHE_STORAGE_GLOBAL_CACHE_STORAGE_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_CACHE_STORAGE_GLOBAL_CACHE_STORAGE_H_
#include "third_party/blink/renderer/platform/wtf/allocator/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 // THIRD_PARTY_BLINK_RENDERER_MODULES_CACHE_STORAGE_GLOBAL_CACHE_STORAGE_H_