| 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 #include "modules/indexeddb/IDBObservation.h" | 5 #include "modules/indexeddb/IDBObservation.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/ExceptionState.h" | 7 #include "bindings/core/v8/ExceptionState.h" |
| 8 #include "bindings/core/v8/ScriptState.h" | 8 #include "bindings/core/v8/ScriptState.h" |
| 9 #include "bindings/core/v8/ToV8.h" | 9 #include "bindings/core/v8/ToV8.h" |
| 10 #include "bindings/modules/v8/ToV8ForModules.h" | 10 #include "bindings/modules/v8/ToV8ForModules.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 } | 71 } |
| 72 } | 72 } |
| 73 | 73 |
| 74 IDBObservation* IDBObservation::create(const WebIDBObservation& observation) | 74 IDBObservation* IDBObservation::create(const WebIDBObservation& observation) |
| 75 { | 75 { |
| 76 return new IDBObservation(observation); | 76 return new IDBObservation(observation); |
| 77 } | 77 } |
| 78 | 78 |
| 79 IDBObservation::IDBObservation(const WebIDBObservation& observation) | 79 IDBObservation::IDBObservation(const WebIDBObservation& observation) |
| 80 : m_keyRange(observation.keyRange) | 80 : m_keyRange(observation.keyRange) |
| 81 #if 0 |
| 81 , m_value(IDBValue::create(observation.value)) | 82 , m_value(IDBValue::create(observation.value)) |
| 83 #endif |
| 82 , m_operationType(observation.type) | 84 , m_operationType(observation.type) |
| 83 { | 85 { |
| 84 } | 86 } |
| 85 | 87 |
| 86 DEFINE_TRACE(IDBObservation) | 88 DEFINE_TRACE(IDBObservation) |
| 87 { | 89 { |
| 88 visitor->trace(m_keyRange); | 90 visitor->trace(m_keyRange); |
| 89 } | 91 } |
| 90 | 92 |
| 91 } // namespace blink | 93 } // namespace blink |
| OLD | NEW |