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_CHILD_WEBCRYPTO_CRYPTO_ALGORITHM_IMPLEMENTATION_H_ | 5 #ifndef CONTENT_CHILD_WEBCRYPTO_ALGORITHM_IMPLEMENTATION_H_ |
6 #define CONTENT_CHILD_WEBCRYPTO_CRYPTO_ALGORITHM_IMPLEMENTATION_H_ | 6 #define CONTENT_CHILD_WEBCRYPTO_ALGORITHM_IMPLEMENTATION_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "third_party/WebKit/public/platform/WebCrypto.h" | 12 #include "third_party/WebKit/public/platform/WebCrypto.h" |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 | 15 |
16 namespace webcrypto { | 16 namespace webcrypto { |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 std::vector<uint8_t>* buffer) const; | 164 std::vector<uint8_t>* buffer) const; |
165 | 165 |
166 virtual Status ExportKeyJwk(const blink::WebCryptoKey& key, | 166 virtual Status ExportKeyJwk(const blink::WebCryptoKey& key, |
167 std::vector<uint8_t>* buffer) const; | 167 std::vector<uint8_t>* buffer) const; |
168 }; | 168 }; |
169 | 169 |
170 } // namespace webcrypto | 170 } // namespace webcrypto |
171 | 171 |
172 } // namespace content | 172 } // namespace content |
173 | 173 |
174 #endif // CONTENT_CHILD_WEBCRYPTO_CRYPTO_ALGORITHM_IMPLEMENTATION_H_ | 174 #endif // CONTENT_CHILD_WEBCRYPTO_ALGORITHM_IMPLEMENTATION_H_ |
OLD | NEW |