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

Side by Side Diff: content/renderer/webcrypto/shared_crypto.h

Issue 178073007: [webcrypto] Update to use the KeyAlgorithm. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unrelated change that makes public keys extractable Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
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_RENDERER_WEBCRYPTO_SHARED_CRYPTO_H_
6 #define CONTENT_RENDERER_WEBCRYPTO_SHARED_CRYPTO_H_ 6 #define CONTENT_RENDERER_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"
(...skipping 21 matching lines...) Expand all
32 // | 32 // |
33 // ==============|========================== 33 // ==============|==========================
34 // | 34 // |
35 // content 35 // content
36 // | 36 // |
37 // | 37 // |
38 // v 38 // v
39 // WebCryptoImpl (Implements the blink::WebCrypto interface for 39 // WebCryptoImpl (Implements the blink::WebCrypto interface for
40 // | asynchronous completions) 40 // | asynchronous completions)
41 // | 41 // |
42 // | [shared_crypto_unittests.cc] 42 // | [shared_crypto_unittest.cc]
43 // | / 43 // | /
44 // | / (The blink::WebCrypto interface is not 44 // | / (The blink::WebCrypto interface is not
45 // | / testable from the chromium side because 45 // | / testable from the chromium side because
46 // | / the result object is not mockable. 46 // | / the result object is not mockable.
47 // | / Tests are done on shared_crypto instead. 47 // | / Tests are done on shared_crypto instead.
48 // V v 48 // V v
49 // [shared_crypto.h] (Exposes synchronous functions in the 49 // [shared_crypto.h] (Exposes synchronous functions in the
50 // | webcrypto:: namespace. This does 50 // | webcrypto:: namespace. This does
51 // | common validations, infers default 51 // | common validations, infers default
52 // | parameters, and casts the algorithm 52 // | parameters, and casts the algorithm
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_RENDERER_WEBCRYPTO_SHARED_CRYPTO_H_
OLDNEW
« no previous file with comments | « content/renderer/webcrypto/platform_crypto_openssl.cc ('k') | content/renderer/webcrypto/shared_crypto.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698