Chromium Code Reviews| Index: third_party/WebKit/Source/modules/indexeddb/IDBObservation.h |
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBObserverChangesRecord.h b/third_party/WebKit/Source/modules/indexeddb/IDBObservation.h |
| similarity index 62% |
| copy from third_party/WebKit/Source/modules/indexeddb/IDBObserverChangesRecord.h |
| copy to third_party/WebKit/Source/modules/indexeddb/IDBObservation.h |
| index 329815214565f2b068f8d36072d8dffa0e6423f8..95d64a90fcec5970105ee2e8ea19d1eee4590c05 100644 |
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBObserverChangesRecord.h |
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBObservation.h |
| @@ -2,8 +2,8 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file.+ |
| -#ifndef IDBObserverChangesRecord_h |
| -#define IDBObserverChangesRecord_h |
| +#ifndef IDBObservation_h |
| +#define IDBObservation_h |
| #include "bindings/core/v8/ScriptValue.h" |
| #include "bindings/core/v8/ScriptWrappable.h" |
| @@ -13,17 +13,18 @@ |
| namespace blink { |
| -class IDBKey; |
| +class IDBKeyRange; |
| class IDBValue; |
| class ScriptState; |
| +struct WebIDBObservation; |
| -class IDBObserverChangesRecord final : public GarbageCollectedFinalized<IDBObserverChangesRecord>, public ScriptWrappable { |
| +class IDBObservation final : public GarbageCollectedFinalized<IDBObservation>, public ScriptWrappable { |
| DEFINE_WRAPPERTYPEINFO(); |
| public: |
| static WebIDBOperationType stringToOperationType(const String&); |
| - static IDBObserverChangesRecord* create(IDBKey*, PassRefPtr<IDBValue>, WebIDBOperationType); |
| - ~IDBObserverChangesRecord(); |
| + static IDBObservation* create(const WebIDBObservation&); |
| + ~IDBObservation(); |
| DECLARE_TRACE(); |
| @@ -33,12 +34,12 @@ public: |
| const String& type() const; |
| private: |
| - IDBObserverChangesRecord(IDBKey*, PassRefPtr<IDBValue>, WebIDBOperationType); |
| - Member<IDBKey> m_key; |
| + IDBObservation(const WebIDBObservation&); |
|
haraken
2016/07/19 01:47:40
Add explicit.
|
| + Member<IDBKeyRange> m_keyRange; |
| RefPtr<IDBValue> m_value; |
| const WebIDBOperationType m_operationType; |
| }; |
| } // namespace blink |
| -#endif // IDBObserverChangesRecord_h |
| +#endif // IDBObservation_h |