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

Unified Diff: components/webcrypto/webcrypto_impl.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/webcrypto_impl.h ('k') | components/webcrypto/webcrypto_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/webcrypto/webcrypto_impl.cc
diff --git a/content/child/webcrypto/webcrypto_impl.cc b/components/webcrypto/webcrypto_impl.cc
similarity index 98%
rename from content/child/webcrypto/webcrypto_impl.cc
rename to components/webcrypto/webcrypto_impl.cc
index 3270fbc006398b1e38669f75550be8e2b5007d2a..6ea76539da6dd37cdbda3ce07874a0c48fcebcaf 100644
--- a/content/child/webcrypto/webcrypto_impl.cc
+++ b/components/webcrypto/webcrypto_impl.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/webcrypto_impl.h"
+#include "components/webcrypto/webcrypto_impl.h"
#include "base/bind.h"
#include "base/lazy_instance.h"
@@ -15,15 +15,15 @@
#include "base/thread_task_runner_handle.h"
#include "base/threading/sequenced_worker_pool.h"
#include "base/threading/worker_pool.h"
-#include "content/child/webcrypto/algorithm_dispatch.h"
-#include "content/child/webcrypto/crypto_data.h"
-#include "content/child/webcrypto/generate_key_result.h"
-#include "content/child/webcrypto/status.h"
-#include "content/child/webcrypto/webcrypto_util.h"
+#include "components/webcrypto/algorithm_dispatch.h"
+#include "components/webcrypto/crypto_data.h"
+#include "components/webcrypto/generate_key_result.h"
+#include "components/webcrypto/status.h"
+#include "components/webcrypto/webcrypto_util.h"
#include "third_party/WebKit/public/platform/WebCryptoKeyAlgorithm.h"
#include "third_party/WebKit/public/platform/WebString.h"
-namespace content {
+namespace webcrypto {
using webcrypto::Status;
@@ -788,4 +788,4 @@ bool WebCryptoImpl::serializeKeyForClone(
return webcrypto::SerializeKeyForClone(key, &key_data);
}
-} // namespace content
+} // namespace webcrypto
« no previous file with comments | « components/webcrypto/webcrypto_impl.h ('k') | components/webcrypto/webcrypto_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698