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

Unified Diff: content/child/webkitplatformsupport_impl.cc

Issue 188203003: Move webcrypto to child/ and add support to worker_webkitplatformsupport. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes to gypis Created 6 years, 9 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 | « content/child/webkitplatformsupport_impl.h ('k') | content/content_child.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webkitplatformsupport_impl.cc
diff --git a/content/child/webkitplatformsupport_impl.cc b/content/child/webkitplatformsupport_impl.cc
index 13b2603d2c7b0b6f7dce4ebbbc8ff00b38c7e7b5..99b1632f3648a085209dfa7780a6c1f782c2bee6 100644
--- a/content/child/webkitplatformsupport_impl.cc
+++ b/content/child/webkitplatformsupport_impl.cc
@@ -5,6 +5,7 @@
#include "base/command_line.h"
#include "content/child/child_thread.h"
#include "content/child/socket_stream_dispatcher.h"
+#include "content/child/webcrypto/webcrypto_impl.h"
#include "content/child/webkitplatformsupport_impl.h"
#include "content/child/websocket_bridge.h"
#include "content/public/common/content_client.h"
@@ -46,4 +47,10 @@ blink::WebSocketHandle* WebKitPlatformSupportImpl::createWebSocketHandle() {
return new WebSocketBridge;
}
+blink::WebCrypto* WebKitPlatformSupportImpl::crypto() {
+ if (!web_crypto_)
+ web_crypto_.reset(new WebCryptoImpl());
+ return web_crypto_.get();
+}
+
} // namespace content
« no previous file with comments | « content/child/webkitplatformsupport_impl.h ('k') | content/content_child.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698