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

Unified Diff: components/webcrypto/jwk.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/jwk.h ('k') | components/webcrypto/nss/aes_algorithm_nss.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/webcrypto/jwk.cc
diff --git a/content/child/webcrypto/jwk.cc b/components/webcrypto/jwk.cc
similarity index 98%
rename from content/child/webcrypto/jwk.cc
rename to components/webcrypto/jwk.cc
index 9c29dc2d396b85e6f807a06abf0f5933a38fa880..e3e2de6ae86e59da2e0b010e34122ba63e99d088 100644
--- a/content/child/webcrypto/jwk.cc
+++ b/components/webcrypto/jwk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/child/webcrypto/jwk.h"
+#include "components/webcrypto/jwk.h"
#include <set>
@@ -12,9 +12,9 @@
#include "base/stl_util.h"
#include "base/strings/string_piece.h"
#include "base/strings/stringprintf.h"
-#include "content/child/webcrypto/crypto_data.h"
-#include "content/child/webcrypto/status.h"
-#include "content/child/webcrypto/webcrypto_util.h"
+#include "components/webcrypto/crypto_data.h"
+#include "components/webcrypto/status.h"
+#include "components/webcrypto/webcrypto_util.h"
// TODO(eroman): The algorithm-specific logic in this file for AES and RSA
// should be moved into the corresponding AlgorithmImplementation file. It
@@ -36,8 +36,6 @@
// The <kty-specific parameters> are defined by the JWA spec:
// http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms
-namespace content {
-
namespace webcrypto {
namespace {
@@ -618,5 +616,3 @@ Status GetWebCryptoUsagesFromJwkKeyOpsForTest(
}
} // namespace webcrypto
-
-} // namespace content
« no previous file with comments | « components/webcrypto/jwk.h ('k') | components/webcrypto/nss/aes_algorithm_nss.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698