Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBTestHelper.h

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Rebased again Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/indexeddb/IDBTestHelper.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBTestHelper.h b/third_party/WebKit/Source/modules/indexeddb/IDBTestHelper.h
new file mode 100644
index 0000000000000000000000000000000000000000..f8311f82fb6284b3c54862fe4f1e87035ceab0dd
--- /dev/null
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBTestHelper.h
@@ -0,0 +1,21 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IDBTestHelper_h
+#define IDBTestHelper_h
+
+#include "modules/indexeddb/IDBValue.h"
+#include "platform/wtf/RefPtr.h"
+#include "v8/include/v8.h"
+
+namespace blink {
+
+// The created value is an array of true. If create_wrapped_value is true, the
+// IDBValue's byte array will be wrapped in a Blob, otherwise it will not be.
+RefPtr<IDBValue> CreateIDBValueForTesting(v8::Isolate*,
+ bool create_wrapped_value);
+
+} // namespace blink
+
+#endif // IDBTestHelper_h

Powered by Google App Engine
This is Rietveld 408576698