blob: 2937c12c51390e1a34dbc9d1b346efe9b2ba07e8 [file] [log] [blame]
// Copyright 2016 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 GlobalIndexedDB_h
#define GlobalIndexedDB_h
#include "platform/wtf/Allocator.h"
namespace blink {
class IDBFactory;
class LocalDOMWindow;
class WorkerGlobalScope;
class GlobalIndexedDB {
STATIC_ONLY(GlobalIndexedDB);
public:
static IDBFactory* indexedDB(LocalDOMWindow&);
static IDBFactory* indexedDB(WorkerGlobalScope&);
};
} // namespace blink
#endif // GlobalIndexedDB_h