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

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

Issue 2601163002: Remove indexed_db_messages.h. (Closed)
Patch Set: Set up the factory on the right thread. Created 4 years 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: 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 46e67e129f2db8a3079e3afd82182245168ff4cb..1f03bc5a02937ea5444ee75df1a24155c05f2c15 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -25,6 +25,7 @@
#include "content/browser/webrtc/webrtc_eventlog_host.h"
#include "content/common/associated_interfaces.mojom.h"
#include "content/common/content_export.h"
+#include "content/common/indexed_db/indexed_db.mojom.h"
#include "content/common/renderer.mojom.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/common/service_manager_connection.h"
@@ -55,6 +56,7 @@ class AudioInputRendererHost;
class AudioRendererHost;
class ChildConnection;
class GpuClient;
+class IndexedDBDispatcherHost;
class InProcessChildThreadParams;
class MessagePortMessageFilter;
class NotificationMessageFilter;
@@ -365,6 +367,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
void ProcessDied(bool already_dead, RendererClosedDetails* known_details);
void OnRouteProviderRequest(mojom::RouteProviderAssociatedRequest request);
+ void OnIndexedDBFactoryRequest(
+ ::indexed_db::mojom::FactoryAssociatedRequest request);
// GpuSwitchingObserver implementation.
void OnGpuSwitched() override;
@@ -564,6 +568,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
// The memory allocator, if any, in which the renderer will write its metrics.
std::unique_ptr<base::SharedPersistentMemoryAllocator> metrics_allocator_;
+ scoped_refptr<IndexedDBDispatcherHost> indexed_db_factory_;
+
bool channel_connected_;
bool sent_render_process_ready_;

Powered by Google App Engine
This is Rietveld 408576698