| 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 IDBObservation_h | 5 #ifndef IDBObservation_h |
| 6 #define IDBObservation_h | 6 #define IDBObservation_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptValue.h" | 8 #include "bindings/core/v8/ScriptValue.h" |
| 9 #include "bindings/core/v8/ScriptWrappable.h" | 9 #include "bindings/core/v8/ScriptWrappable.h" |
| 10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| 11 #include "platform/wtf/PassRefPtr.h" |
| 11 #include "public/platform/modules/indexeddb/WebIDBTypes.h" | 12 #include "public/platform/modules/indexeddb/WebIDBTypes.h" |
| 12 #include "wtf/PassRefPtr.h" | |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class IDBKeyRange; | 16 class IDBKeyRange; |
| 17 class IDBValue; | 17 class IDBValue; |
| 18 class ScriptState; | 18 class ScriptState; |
| 19 struct WebIDBObservation; | 19 struct WebIDBObservation; |
| 20 | 20 |
| 21 class IDBObservation final : public GarbageCollectedFinalized<IDBObservation>, | 21 class IDBObservation final : public GarbageCollectedFinalized<IDBObservation>, |
| 22 public ScriptWrappable { | 22 public ScriptWrappable { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 37 private: | 37 private: |
| 38 IDBObservation(const WebIDBObservation&, v8::Isolate*); | 38 IDBObservation(const WebIDBObservation&, v8::Isolate*); |
| 39 Member<IDBKeyRange> key_range_; | 39 Member<IDBKeyRange> key_range_; |
| 40 RefPtr<IDBValue> value_; | 40 RefPtr<IDBValue> value_; |
| 41 const WebIDBOperationType operation_type_; | 41 const WebIDBOperationType operation_type_; |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace blink | 44 } // namespace blink |
| 45 | 45 |
| 46 #endif // IDBObservation_h | 46 #endif // IDBObservation_h |
| OLD | NEW |