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

Side by Side Diff: components/webcrypto/algorithm_dispatch.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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
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 COMPONENTS_WEBCRYPTO_ALGORITHM_DISPATCH_H_ 5 #ifndef COMPONENTS_WEBCRYPTO_ALGORITHM_DISPATCH_H_
6 #define COMPONENTS_WEBCRYPTO_ALGORITHM_DISPATCH_H_ 6 #define COMPONENTS_WEBCRYPTO_ALGORITHM_DISPATCH_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "third_party/WebKit/public/platform/WebCrypto.h" 13 #include "third_party/WebKit/public/platform/WebCrypto.h"
14 14
15 namespace webcrypto { 15 namespace webcrypto {
16 16
17 class AlgorithmImplementation;
18 class CryptoData; 17 class CryptoData;
19 class GenerateKeyResult; 18 class GenerateKeyResult;
20 class Status; 19 class Status;
21 20
22 // These functions provide an entry point for synchronous webcrypto operations. 21 // These functions provide an entry point for synchronous webcrypto operations.
23 // 22 //
24 // The inputs to these methods come from Blink, and hence the validations done 23 // The inputs to these methods come from Blink, and hence the validations done
25 // by Blink can be assumed: 24 // by Blink can be assumed:
26 // 25 //
27 // * The algorithm parameters are consistent with the algorithm 26 // * The algorithm parameters are consistent with the algorithm
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 bool DeserializeKeyForClone(const blink::WebCryptoKeyAlgorithm& algorithm, 123 bool DeserializeKeyForClone(const blink::WebCryptoKeyAlgorithm& algorithm,
125 blink::WebCryptoKeyType type, 124 blink::WebCryptoKeyType type,
126 bool extractable, 125 bool extractable,
127 blink::WebCryptoKeyUsageMask usages, 126 blink::WebCryptoKeyUsageMask usages,
128 const CryptoData& key_data, 127 const CryptoData& key_data,
129 blink::WebCryptoKey* key); 128 blink::WebCryptoKey* key);
130 129
131 } // namespace webcrypto 130 } // namespace webcrypto
132 131
133 #endif // COMPONENTS_WEBCRYPTO_ALGORITHM_DISPATCH_H_ 132 #endif // COMPONENTS_WEBCRYPTO_ALGORITHM_DISPATCH_H_
OLDNEW
« no previous file with comments | « components/web_restrictions/browser/web_restrictions_resource_throttle.h ('k') | components/webcrypto/algorithms/util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698