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

Unified Diff: components/webcrypto/webcrypto_impl.h

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/webcrypto_impl.h
diff --git a/content/child/webcrypto/webcrypto_impl.h b/components/webcrypto/webcrypto_impl.h
similarity index 98%
rename from content/child/webcrypto/webcrypto_impl.h
rename to components/webcrypto/webcrypto_impl.h
index c8462dfa158005fc5d912f22fdc1ccedc42ee93a..fb7e9eace4b8dc24da058b8de43c631054310809 100644
--- a/content/child/webcrypto/webcrypto_impl.h
+++ b/components/webcrypto/webcrypto_impl.h
@@ -11,7 +11,8 @@
#include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h"
#include "third_party/WebKit/public/platform/WebVector.h"
-namespace content {
+namespace components {
+namespace webcrypto {
// Wrapper around the Blink WebCrypto asynchronous interface, which forwards to
// the synchronous platform (NSS or OpenSSL) implementation.
@@ -122,6 +123,7 @@ class WebCryptoImpl : public blink::WebCrypto {
DISALLOW_COPY_AND_ASSIGN(WebCryptoImpl);
};
-} // namespace content
+} // namespace webcrypto
+} // namespace components
#endif // CONTENT_CHILD_WEBCRYPTO_WEBCRYPTO_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698