| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IDBTestHelper_h |
| 6 #define IDBTestHelper_h |
| 7 |
| 8 #include "modules/indexeddb/IDBValue.h" |
| 9 #include "platform/wtf/RefPtr.h" |
| 10 #include "v8/include/v8.h" |
| 11 |
| 12 namespace blink { |
| 13 |
| 14 // The created value is an array of true. If create_wrapped_value is true, the |
| 15 // IDBValue's byte array will be wrapped in a Blob, otherwise it will not be. |
| 16 RefPtr<IDBValue> CreateIDBValueForTesting(v8::Isolate*, |
| 17 bool create_wrapped_value); |
| 18 |
| 19 } // namespace blink |
| 20 |
| 21 #endif // IDBTestHelper_h |
| OLD | NEW |