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

Side by Side Diff: third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModules.cpp

Issue 2848243004: Clean up bindings/core/v8 (Part 2) (Closed)
Patch Set: Rebase Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "bindings/modules/v8/serialization/V8ScriptValueSerializerForModules.h" 5 #include "bindings/modules/v8/serialization/V8ScriptValueSerializerForModules.h"
6 6
7 #include "bindings/core/v8/ScriptWrappable.h"
8 #include "bindings/modules/v8/V8CryptoKey.h" 7 #include "bindings/modules/v8/V8CryptoKey.h"
9 #include "bindings/modules/v8/V8DOMFileSystem.h" 8 #include "bindings/modules/v8/V8DOMFileSystem.h"
10 #include "bindings/modules/v8/V8RTCCertificate.h" 9 #include "bindings/modules/v8/V8RTCCertificate.h"
11 #include "bindings/modules/v8/serialization/WebCryptoSubTags.h" 10 #include "bindings/modules/v8/serialization/WebCryptoSubTags.h"
12 #include "platform/FileSystemType.h" 11 #include "platform/FileSystemType.h"
12 #include "platform/bindings/ScriptWrappable.h"
13 #include "public/platform/Platform.h" 13 #include "public/platform/Platform.h"
14 #include "public/platform/WebCrypto.h" 14 #include "public/platform/WebCrypto.h"
15 #include "public/platform/WebCryptoKey.h" 15 #include "public/platform/WebCryptoKey.h"
16 #include "public/platform/WebCryptoKeyAlgorithm.h" 16 #include "public/platform/WebCryptoKeyAlgorithm.h"
17 17
18 namespace blink { 18 namespace blink {
19 19
20 bool V8ScriptValueSerializerForModules::WriteDOMObject( 20 bool V8ScriptValueSerializerForModules::WriteDOMObject(
21 ScriptWrappable* wrappable, 21 ScriptWrappable* wrappable,
22 ExceptionState& exception_state) { 22 ExceptionState& exception_state) {
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 kDataCloneError, "A CryptoKey object could not be cloned."); 215 kDataCloneError, "A CryptoKey object could not be cloned.");
216 return false; 216 return false;
217 } 217 }
218 WriteUint32(key_data.size()); 218 WriteUint32(key_data.size());
219 WriteRawBytes(key_data.Data(), key_data.size()); 219 WriteRawBytes(key_data.Data(), key_data.size());
220 220
221 return true; 221 return true;
222 } 222 }
223 223
224 } // namespace blink 224 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698