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

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: Copy the msvs_disabled_warnings to the new target. 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/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..bf288135b0713c43f37e4e7e4cbcdab26a367413 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,7 +36,7 @@
// The <kty-specific parameters> are defined by the JWA spec:
// http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms
-namespace content {
+namespace components {
namespace webcrypto {
@@ -619,4 +619,4 @@ Status GetWebCryptoUsagesFromJwkKeyOpsForTest(
} // namespace webcrypto
-} // namespace content
+} // namespace components

Powered by Google App Engine
This is Rietveld 408576698