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

Unified Diff: Source/bindings/core/v8/SerializationTag.h

Issue 718383003: bindings: fixed incorrect dependency of SerializedScriptValue. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added fast/js/structured-clone.html Created 6 years, 1 month 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
« no previous file with comments | « Source/bindings/core/v8/ScriptValueSerializer.cpp ('k') | Source/bindings/core/v8/SerializedScriptValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/SerializationTag.h
diff --git a/Source/bindings/core/v8/SerializationTag.h b/Source/bindings/core/v8/SerializationTag.h
index bcbb6db71d9aa7c1726292b1d442cde7e3b8a0ac..3666126616ad4d106457fc7530af6ff43b46d421 100644
--- a/Source/bindings/core/v8/SerializationTag.h
+++ b/Source/bindings/core/v8/SerializationTag.h
@@ -7,8 +7,6 @@
namespace blink {
-namespace SerializedScriptValueInternal {
-
// Serialization format is a sequence of tags followed by zero or more data arguments.
// Tags always take exactly one byte. A serialized stream first begins with
// a complete VersionTag. If the stream does not begin with a VersionTag, we assume that
@@ -96,63 +94,6 @@ enum ArrayBufferViewSubTag {
DataViewTag = '?'
};
-enum CryptoKeySubTag {
- AesKeyTag = 1,
- HmacKeyTag = 2,
- // ID 3 was used by RsaKeyTag, while still behind experimental flag.
- RsaHashedKeyTag = 4,
- EcKeyTag = 5,
- // Maximum allowed value is 255
-};
-
-enum AssymetricCryptoKeyType {
- PublicKeyType = 1,
- PrivateKeyType = 2,
- // Maximum allowed value is 2^32-1
-};
-
-enum CryptoKeyAlgorithmTag {
- AesCbcTag = 1,
- HmacTag = 2,
- RsaSsaPkcs1v1_5Tag = 3,
- // ID 4 was used by RsaEs, while still behind experimental flag.
- Sha1Tag = 5,
- Sha256Tag = 6,
- Sha384Tag = 7,
- Sha512Tag = 8,
- AesGcmTag = 9,
- RsaOaepTag = 10,
- AesCtrTag = 11,
- AesKwTag = 12,
- RsaPssTag = 13,
- EcdsaTag = 14,
- // Maximum allowed value is 2^32-1
-};
-
-enum NamedCurveTag {
- P256Tag = 1,
- P384Tag = 2,
- P521Tag = 3,
-};
-
-enum CryptoKeyUsage {
- // Extractability is not a "usage" in the WebCryptoKeyUsages sense, however
- // it fits conveniently into this bitfield.
- ExtractableUsage = 1 << 0,
-
- EncryptUsage = 1 << 1,
- DecryptUsage = 1 << 2,
- SignUsage = 1 << 3,
- VerifyUsage = 1 << 4,
- DeriveKeyUsage = 1 << 5,
- WrapKeyUsage = 1 << 6,
- UnwrapKeyUsage = 1 << 7,
- DeriveBitsUsage = 1 << 8,
- // Maximum allowed value is 1 << 31
-};
-
-} // namespace SerializedScriptValueInternal
-
} // namespace blink
#endif
« no previous file with comments | « Source/bindings/core/v8/ScriptValueSerializer.cpp ('k') | Source/bindings/core/v8/SerializedScriptValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698