Onion Soup the web_database.mojom interface.

This appears to be the first former control message that has been Onion Souped, so
I needed to create the infrastructure to add the interface to a BinderRegistry
and then add this to the service manager.

I also needed to expose the IO thread via Platform so that the mojo interface
can be created on it, to maintain the previous implementation.

Most of the rest of the changes are just a result of changing the namespace from
content::mojom to blink::mojom.

Bug: 757277
Change-Id: I1e8a0606c19cc715a4890d27c922cfa26a84c4cf
Reviewed-on: https://chromium-review.googlesource.com/727487
Commit-Queue: Stuart Langley <[email protected]>
Reviewed-by: Daniel Cheng <[email protected]>
Reviewed-by: John Abd-El-Malek <[email protected]>
Reviewed-by: Kentaro Hara <[email protected]>
Reviewed-by: Sam McNally <[email protected]>
Cr-Commit-Position: refs/heads/master@{#512739}
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index a2487d4..b04b968 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -68,6 +68,7 @@
 namespace scheduler {
 class WebThreadBase;
 }
+class InterfaceRegistry;
 class WebMediaStreamCenter;
 class WebMediaStreamCenterClient;
 }
@@ -571,7 +572,8 @@
   void InitializeCompositorThread();
 
   void InitializeWebKit(
-      const scoped_refptr<base::SingleThreadTaskRunner>& resource_task_queue);
+      const scoped_refptr<base::SingleThreadTaskRunner>& resource_task_queue,
+      blink::InterfaceRegistry* registry);
 
   void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
   void OnGetAccessibilityTree();