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

Unified Diff: mojo/services/html_viewer/blink_platform_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: 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 | « mojo/services/html_viewer/DEPS ('k') | mojo/services/html_viewer/blink_platform_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/html_viewer/blink_platform_impl.h
diff --git a/mojo/services/html_viewer/blink_platform_impl.h b/mojo/services/html_viewer/blink_platform_impl.h
index 9b2e49e57ea1a0c87b8f590e7dee20569966b915..9489f358d156fe9fd53926478d24448600839c25 100644
--- a/mojo/services/html_viewer/blink_platform_impl.h
+++ b/mojo/services/html_viewer/blink_platform_impl.h
@@ -10,6 +10,7 @@
#include "base/threading/thread_local_storage.h"
#include "base/timer/timer.h"
#include "cc/blink/web_compositor_support_impl.h"
+#include "components/webcrypto/webcrypto_impl.h"
#include "mojo/services/html_viewer/blink_resource_map.h"
#include "mojo/services/html_viewer/webmimeregistry_impl.h"
#include "mojo/services/html_viewer/webnotificationmanager_impl.h"
@@ -62,6 +63,7 @@ class BlinkPlatformImpl : public blink::Platform {
blink::WebGestureDevice device_source,
const blink::WebFloatPoint& velocity,
const blink::WebSize& cumulative_scroll);
+ virtual blink::WebCrypto* crypto();
virtual blink::WebNotificationManager* notificationManager();
private:
@@ -86,6 +88,7 @@ class BlinkPlatformImpl : public blink::Platform {
WebThemeEngineImpl theme_engine_;
WebMimeRegistryImpl mime_registry_;
WebSchedulerImpl scheduler_;
+ webcrypto::WebCryptoImpl web_crypto_;
WebNotificationManagerImpl web_notification_manager_;
blink::WebScrollbarBehavior scrollbar_behavior_;
BlinkResourceMap blink_resource_map_;
« no previous file with comments | « mojo/services/html_viewer/DEPS ('k') | mojo/services/html_viewer/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698