OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_WEBCRYPTO_IMPL_H_ | 5 #ifndef CONTENT_CHILD_WEBCRYPTO_WEBCRYPTO_IMPL_H_ |
6 #define CONTENT_RENDERER_WEBCRYPTO_WEBCRYPTO_IMPL_H_ | 6 #define CONTENT_CHILD_WEBCRYPTO_WEBCRYPTO_IMPL_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 "third_party/WebKit/public/platform/WebCrypto.h" | 10 #include "third_party/WebKit/public/platform/WebCrypto.h" |
11 #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h" | 11 #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h" |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 | 14 |
15 // Wrapper around the blink WebCrypto asynchronous interface, which forwards to | 15 // Wrapper around the blink WebCrypto asynchronous interface, which forwards to |
16 // the synchronous platfrom (NSS or OpenSSL) implementation. | 16 // the synchronous platfrom (NSS or OpenSSL) implementation. |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 const unsigned char* data, | 67 const unsigned char* data, |
68 unsigned int data_size, | 68 unsigned int data_size, |
69 blink::WebArrayBuffer& result); | 69 blink::WebArrayBuffer& result); |
70 | 70 |
71 private: | 71 private: |
72 DISALLOW_COPY_AND_ASSIGN(WebCryptoImpl); | 72 DISALLOW_COPY_AND_ASSIGN(WebCryptoImpl); |
73 }; | 73 }; |
74 | 74 |
75 } // namespace content | 75 } // namespace content |
76 | 76 |
77 #endif // CONTENT_RENDERER_WEBCRYPTO_WEBCRYPTO_IMPL_H_ | 77 #endif // CONTENT_CHILD_WEBCRYPTO_WEBCRYPTO_IMPL_H_ |
OLD | NEW |