| Index: components/webcrypto/test/aes_cbc_unittest.cc
|
| diff --git a/content/child/webcrypto/test/aes_cbc_unittest.cc b/components/webcrypto/test/aes_cbc_unittest.cc
|
| similarity index 98%
|
| rename from content/child/webcrypto/test/aes_cbc_unittest.cc
|
| rename to components/webcrypto/test/aes_cbc_unittest.cc
|
| index 9d1fa6ac012e7715a87cd546b6f407d8180f9328..e1eebe034813e073bd645b43b1bf64c4a62cb097 100644
|
| --- a/content/child/webcrypto/test/aes_cbc_unittest.cc
|
| +++ b/components/webcrypto/test/aes_cbc_unittest.cc
|
| @@ -3,16 +3,14 @@
|
| // found in the LICENSE file.
|
|
|
| #include "base/stl_util.h"
|
| -#include "content/child/webcrypto/algorithm_dispatch.h"
|
| -#include "content/child/webcrypto/crypto_data.h"
|
| -#include "content/child/webcrypto/status.h"
|
| -#include "content/child/webcrypto/test/test_helpers.h"
|
| -#include "content/child/webcrypto/webcrypto_util.h"
|
| +#include "components/webcrypto/algorithm_dispatch.h"
|
| +#include "components/webcrypto/crypto_data.h"
|
| +#include "components/webcrypto/status.h"
|
| +#include "components/webcrypto/test/test_helpers.h"
|
| +#include "components/webcrypto/webcrypto_util.h"
|
| #include "third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h"
|
| #include "third_party/WebKit/public/platform/WebCryptoKeyAlgorithm.h"
|
|
|
| -namespace content {
|
| -
|
| namespace webcrypto {
|
|
|
| namespace {
|
| @@ -204,8 +202,8 @@ TEST(WebCryptoAesCbcTest, ImportKeyEmptyUsage) {
|
| ASSERT_EQ(Status::ErrorCreateKeyEmptyUsages(),
|
| ImportKey(blink::WebCryptoKeyFormatRaw,
|
| CryptoData(std::vector<uint8_t>(16)),
|
| - CreateAlgorithm(blink::WebCryptoAlgorithmIdAesCbc),
|
| - true, 0, &key));
|
| + CreateAlgorithm(blink::WebCryptoAlgorithmIdAesCbc), true,
|
| + 0, &key));
|
| }
|
|
|
| // If key_ops is specified but empty, no key usages are allowed for the key.
|
| @@ -567,5 +565,3 @@ TEST(WebCryptoAesCbcTest, WrapUnwrapRoundtripSpkiPkcs8) {
|
| } // namespace
|
|
|
| } // namespace webcrypto
|
| -
|
| -} // namespace content
|
|
|