OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_RENDERER_WEBCRYPTO_SHARED_CRYPTO_H_ | 5 #ifndef CONTENT_CHILD_WEBCRYPTO_SHARED_CRYPTO_H_ |
6 #define CONTENT_RENDERER_WEBCRYPTO_SHARED_CRYPTO_H_ | 6 #define CONTENT_CHILD_WEBCRYPTO_SHARED_CRYPTO_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
11 #include "third_party/WebKit/public/platform/WebArrayBuffer.h" | 11 #include "third_party/WebKit/public/platform/WebArrayBuffer.h" |
12 #include "third_party/WebKit/public/platform/WebCrypto.h" | 12 #include "third_party/WebKit/public/platform/WebCrypto.h" |
13 #include "third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h" | 13 #include "third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 ImportKeyJwk(const CryptoData& key_data, | 128 ImportKeyJwk(const CryptoData& key_data, |
129 const blink::WebCryptoAlgorithm& algorithm_or_null, | 129 const blink::WebCryptoAlgorithm& algorithm_or_null, |
130 bool extractable, | 130 bool extractable, |
131 blink::WebCryptoKeyUsageMask usage_mask, | 131 blink::WebCryptoKeyUsageMask usage_mask, |
132 blink::WebCryptoKey* key); | 132 blink::WebCryptoKey* key); |
133 | 133 |
134 } // namespace webcrypto | 134 } // namespace webcrypto |
135 | 135 |
136 } // namespace content | 136 } // namespace content |
137 | 137 |
138 #endif // CONTENT_RENDERER_WEBCRYPTO_SHARED_CRYPTO_H_ | 138 #endif // CONTENT_CHILD_WEBCRYPTO_SHARED_CRYPTO_H_ |
OLD | NEW |