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

Unified Diff: components/webcrypto/nss/aes_algorithm_nss.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
« no previous file with comments | « components/webcrypto/nss/aes_algorithm_nss.h ('k') | components/webcrypto/nss/aes_cbc_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/webcrypto/nss/aes_algorithm_nss.cc
diff --git a/content/child/webcrypto/nss/aes_algorithm_nss.cc b/components/webcrypto/nss/aes_algorithm_nss.cc
similarity index 92%
rename from content/child/webcrypto/nss/aes_algorithm_nss.cc
rename to components/webcrypto/nss/aes_algorithm_nss.cc
index bbcc643070586b210dc15528a6abd15ced689925..d09f5eecbec986e9e6d9c6aded72ed1fe05eb6f9 100644
--- a/content/child/webcrypto/nss/aes_algorithm_nss.cc
+++ b/components/webcrypto/nss/aes_algorithm_nss.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/nss/aes_algorithm_nss.h"
+#include "components/webcrypto/nss/aes_algorithm_nss.h"
#include "base/logging.h"
-#include "content/child/webcrypto/crypto_data.h"
-#include "content/child/webcrypto/jwk.h"
-#include "content/child/webcrypto/nss/key_nss.h"
-#include "content/child/webcrypto/nss/sym_key_nss.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/nss/key_nss.h"
+#include "components/webcrypto/nss/sym_key_nss.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(CK_MECHANISM_TYPE import_mechanism,
@@ -141,5 +139,3 @@ Status AesAlgorithm::GetKeyLength(
}
} // namespace webcrypto
-
-} // namespace content
« no previous file with comments | « components/webcrypto/nss/aes_algorithm_nss.h ('k') | components/webcrypto/nss/aes_cbc_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698