#include "third_party/blink/renderer/modules/indexeddb/global_indexed_db.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/workers/worker_global_scope.h"
#include "third_party/blink/renderer/modules/indexeddb/idb_factory.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/supplementable.h"
namespace blink {
namespace {
template <typename T>
class GlobalIndexedDBImpl final
: public GarbageCollected<GlobalIndexedDBImpl<T>>,
public Supplement<T> { … };
template <typename T>
const char GlobalIndexedDBImpl<T>::kSupplementName[] = …;
}
IDBFactory* GlobalIndexedDB::indexedDB(LocalDOMWindow& window) { … }
IDBFactory* GlobalIndexedDB::indexedDB(WorkerGlobalScope& worker) { … }
}