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

Unified Diff: components/webcrypto/openssl/aes_algorithm_openssl.cc

Issue 1077273002: html_viewer: Move webcrypto to a place where html_viewer can use it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: components/webcrypto/openssl/aes_algorithm_openssl.cc
diff --git a/content/child/webcrypto/openssl/aes_algorithm_openssl.cc b/components/webcrypto/openssl/aes_algorithm_openssl.cc
similarity index 92%
rename from content/child/webcrypto/openssl/aes_algorithm_openssl.cc
rename to components/webcrypto/openssl/aes_algorithm_openssl.cc
index a08ddcd8b6a576b950f571e9f1ea9eb9187d85e9..05e30c5bfd56434313f58c95b7a592f74c185aec 100644
--- a/content/child/webcrypto/openssl/aes_algorithm_openssl.cc
+++ b/components/webcrypto/openssl/aes_algorithm_openssl.cc
@@ -2,19 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/child/webcrypto/openssl/aes_algorithm_openssl.h"
+#include "components/webcrypto/openssl/aes_algorithm_openssl.h"
#include "base/logging.h"
-#include "content/child/webcrypto/crypto_data.h"
-#include "content/child/webcrypto/jwk.h"
-#include "content/child/webcrypto/openssl/key_openssl.h"
-#include "content/child/webcrypto/openssl/util_openssl.h"
-#include "content/child/webcrypto/status.h"
-#include "content/child/webcrypto/webcrypto_util.h"
+#include "components/webcrypto/crypto_data.h"
+#include "components/webcrypto/jwk.h"
+#include "components/webcrypto/openssl/key_openssl.h"
+#include "components/webcrypto/openssl/util_openssl.h"
+#include "components/webcrypto/status.h"
+#include "components/webcrypto/webcrypto_util.h"
#include "third_party/WebKit/public/platform/WebCryptoKeyAlgorithm.h"
-namespace content {
-
namespace webcrypto {
AesAlgorithm::AesAlgorithm(blink::WebCryptoKeyUsageMask all_key_usages,
@@ -138,5 +136,3 @@ Status AesAlgorithm::GetKeyLength(
}
} // namespace webcrypto
-
-} // namespace content
« no previous file with comments | « components/webcrypto/openssl/aes_algorithm_openssl.h ('k') | components/webcrypto/openssl/aes_cbc_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698