Index: components/webcrypto/webcrypto_util.h |
diff --git a/content/child/webcrypto/webcrypto_util.h b/components/webcrypto/webcrypto_util.h |
similarity index 91% |
rename from content/child/webcrypto/webcrypto_util.h |
rename to components/webcrypto/webcrypto_util.h |
index 2da3d6083518f55aeabdfb5ccb62e54e10b2e3f4..bcbfb2ab3ca3eab0b1fd0f693fb764a94859d66f 100644 |
--- a/content/child/webcrypto/webcrypto_util.h |
+++ b/components/webcrypto/webcrypto_util.h |
@@ -9,39 +9,37 @@ |
#include <string> |
#include "base/values.h" |
-#include "content/common/content_export.h" |
#include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h" |
#include "third_party/WebKit/public/platform/WebCryptoKey.h" |
-namespace content { |
+namespace components { |
namespace webcrypto { |
class Status; |
// Creates a WebCryptoAlgorithm without any parameters. |
-CONTENT_EXPORT blink::WebCryptoAlgorithm CreateAlgorithm( |
- blink::WebCryptoAlgorithmId id); |
+blink::WebCryptoAlgorithm CreateAlgorithm(blink::WebCryptoAlgorithmId id); |
// Creates an HMAC import algorithm whose inner hash algorithm is determined by |
// the specified algorithm ID. It is an error to call this method with a hash |
// algorithm that is not SHA*. |
-CONTENT_EXPORT blink::WebCryptoAlgorithm CreateHmacImportAlgorithm( |
+blink::WebCryptoAlgorithm CreateHmacImportAlgorithm( |
blink::WebCryptoAlgorithmId hash_id, |
unsigned int length_bits); |
// Same as above but without specifying a length. |
-CONTENT_EXPORT blink::WebCryptoAlgorithm CreateHmacImportAlgorithmNoLength( |
+blink::WebCryptoAlgorithm CreateHmacImportAlgorithmNoLength( |
blink::WebCryptoAlgorithmId hash_id); |
// Creates an import algorithm for RSA algorithms that take a hash. |
// It is an error to call this with a hash_id that is not a SHA*. |
-CONTENT_EXPORT blink::WebCryptoAlgorithm CreateRsaHashedImportAlgorithm( |
+blink::WebCryptoAlgorithm CreateRsaHashedImportAlgorithm( |
blink::WebCryptoAlgorithmId id, |
blink::WebCryptoAlgorithmId hash_id); |
// Creates an import algorithm for EC keys. |
-CONTENT_EXPORT blink::WebCryptoAlgorithm CreateEcImportAlgorithm( |
+blink::WebCryptoAlgorithm CreateEcImportAlgorithm( |
blink::WebCryptoAlgorithmId id, |
blink::WebCryptoNamedCurve named_curve); |
@@ -134,6 +132,6 @@ Status GetUsagesForGenerateAsymmetricKey( |
} // namespace webcrypto |
-} // namespace content |
+} // namespace components |
#endif // CONTENT_CHILD_WEBCRYPTO_WEBCRYPTO_UTIL_H_ |