| 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 <memory> |
| 9 #include "modules/ModulesExport.h" | 9 #include "modules/ModulesExport.h" |
| 10 #include "modules/indexeddb/IDBKey.h" | 10 #include "modules/indexeddb/IDBKey.h" |
| 11 #include "modules/indexeddb/IDBKeyPath.h" | 11 #include "modules/indexeddb/IDBKeyPath.h" |
| 12 #include "platform/SharedBuffer.h" | 12 #include "platform/SharedBuffer.h" |
| 13 #include "platform/wtf/RefPtr.h" |
| 13 #include "public/platform/WebVector.h" | 14 #include "public/platform/WebVector.h" |
| 14 #include "wtf/RefPtr.h" | |
| 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 30 matching lines...) Expand all Loading... |
| 55 int64_t external_allocated_size_ = 0; | 55 int64_t external_allocated_size_ = 0; |
| 56 // Used to register memory externally allocated by the WebIDBValue, and to | 56 // Used to register memory externally allocated by the WebIDBValue, and to |
| 57 // unregister that memory in the destructor. Unused in other construction | 57 // unregister that memory in the destructor. Unused in other construction |
| 58 // paths. | 58 // paths. |
| 59 v8::Isolate* isolate_ = nullptr; | 59 v8::Isolate* isolate_ = nullptr; |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 } // namespace blink | 62 } // namespace blink |
| 63 | 63 |
| 64 #endif | 64 #endif |
| OLD | NEW |