| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 IDBValue_h | 5 #ifndef IDBValue_h |
| 6 #define IDBValue_h | 6 #define IDBValue_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "modules/ModulesExport.h" | 9 #include "modules/ModulesExport.h" |
| 9 #include "modules/indexeddb/IDBKey.h" | 10 #include "modules/indexeddb/IDBKey.h" |
| 10 #include "modules/indexeddb/IDBKeyPath.h" | 11 #include "modules/indexeddb/IDBKeyPath.h" |
| 11 #include "platform/SharedBuffer.h" | 12 #include "platform/SharedBuffer.h" |
| 12 #include "public/platform/WebVector.h" | 13 #include "public/platform/WebVector.h" |
| 13 #include "wtf/RefPtr.h" | 14 #include "wtf/RefPtr.h" |
| 14 #include <memory> | |
| 15 | 15 |
| 16 namespace blink { | 16 namespace blink { |
| 17 | 17 |
| 18 class BlobDataHandle; | 18 class BlobDataHandle; |
| 19 class SerializedScriptValue; | 19 class SerializedScriptValue; |
| 20 class WebBlobInfo; | 20 class WebBlobInfo; |
| 21 struct WebIDBValue; | 21 struct WebIDBValue; |
| 22 | 22 |
| 23 class MODULES_EXPORT IDBValue final : public RefCounted<IDBValue> { | 23 class MODULES_EXPORT IDBValue final : public RefCounted<IDBValue> { |
| 24 public: | 24 public: |
| (...skipping 26 matching lines...) Expand all Loading... |
| 51 const std::unique_ptr<Vector<RefPtr<BlobDataHandle>>> m_blobData; | 51 const std::unique_ptr<Vector<RefPtr<BlobDataHandle>>> m_blobData; |
| 52 const std::unique_ptr<Vector<WebBlobInfo>> m_blobInfo; | 52 const std::unique_ptr<Vector<WebBlobInfo>> m_blobInfo; |
| 53 const Persistent<IDBKey> m_primaryKey; | 53 const Persistent<IDBKey> m_primaryKey; |
| 54 const IDBKeyPath m_keyPath; | 54 const IDBKeyPath m_keyPath; |
| 55 int64_t m_externalAllocatedSize = 0; | 55 int64_t m_externalAllocatedSize = 0; |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } // namespace blink | 58 } // namespace blink |
| 59 | 59 |
| 60 #endif | 60 #endif |
| OLD | NEW |