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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactoring after Passing URLRequestContextGetter. Created 4 years, 4 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/browser/renderer_host/DEPS ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index beb004baa1b9d48c2b1a5c1f77e58bb30a9fd23b..e593d72d51680d26dd517f8b47a73bda7478bda6 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -31,6 +31,8 @@
#include "ipc/ipc_platform_file.h"
#include "mojo/public/cpp/bindings/interface_ptr.h"
#include "services/shell/public/interfaces/service.mojom.h"
+// TODO(cmumford): Any way to use from //content of WebKit/public?
+#include "third_party/WebKit/Source/modules/indexeddb/indexed_db.mojom.h"
#include "ui/gfx/gpu_memory_buffer.h"
#include "ui/gl/gpu_switching_observer.h"
@@ -56,6 +58,7 @@ class AudioInputRendererHost;
class AudioRendererHost;
class BrowserCdmManager;
class BrowserDemuxerAndroid;
+class DatabaseFactoryImpl;
class InProcessChildThreadParams;
class MessagePortMessageFilter;
class MojoChildConnection;
@@ -318,6 +321,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
// Registers Mojo interfaces to be exposed to the renderer.
void RegisterMojoInterfaces();
+ void CreateIndexedDBFactoryService(
+ mojo::InterfaceRequest<::indexed_db::mojom::DatabaseFactory> request);
void CreateStoragePartitionService(
mojo::InterfaceRequest<mojom::StoragePartitionService> request);
@@ -440,6 +445,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
// Owned by |browser_context_|.
StoragePartitionImpl* storage_partition_impl_;
+ DatabaseFactoryImpl* database_factory_impl_;
// The observers watching our lifetime.
base::ObserverList<RenderProcessHostObserver> observers_;
« no previous file with comments | « content/browser/renderer_host/DEPS ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698