|  | // 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 |