| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IDBObserver_h | 5 #ifndef IDBObserver_h |
| 6 #define IDBObserver_h | 6 #define IDBObserver_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptState.h" | |
| 9 #include "bindings/core/v8/ScriptWrappable.h" | |
| 10 #include "modules/ModulesExport.h" | 8 #include "modules/ModulesExport.h" |
| 9 #include "platform/bindings/ScriptState.h" |
| 10 #include "platform/bindings/ScriptWrappable.h" |
| 11 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
| 12 #include "public/platform/WebVector.h" | 12 #include "public/platform/WebVector.h" |
| 13 #include "public/platform/modules/indexeddb/WebIDBTypes.h" | 13 #include "public/platform/modules/indexeddb/WebIDBTypes.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class ExceptionState; | 17 class ExceptionState; |
| 18 class IDBDatabase; | 18 class IDBDatabase; |
| 19 class IDBObserverCallback; | 19 class IDBObserverCallback; |
| 20 class IDBObserverInit; | 20 class IDBObserverInit; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 41 private: | 41 private: |
| 42 explicit IDBObserver(IDBObserverCallback*); | 42 explicit IDBObserver(IDBObserverCallback*); |
| 43 | 43 |
| 44 Member<IDBObserverCallback> callback_; | 44 Member<IDBObserverCallback> callback_; |
| 45 HeapHashMap<int32_t, WeakMember<IDBDatabase>> observer_ids_; | 45 HeapHashMap<int32_t, WeakMember<IDBDatabase>> observer_ids_; |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace blink | 48 } // namespace blink |
| 49 | 49 |
| 50 #endif // IDBObserver_h | 50 #endif // IDBObserver_h |
| OLD | NEW |