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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 2601163002: Remove indexed_db_messages.h. (Closed)
Patch Set: Addressed cmumford's feedback. Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <map> 11 #include <map>
12 #include <memory> 12 #include <memory>
13 #include <queue> 13 #include <queue>
14 #include <string> 14 #include <string>
15 15
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
18 #include "base/observer_list.h" 18 #include "base/observer_list.h"
19 #include "base/process/process.h" 19 #include "base/process/process.h"
20 #include "base/single_thread_task_runner.h" 20 #include "base/single_thread_task_runner.h"
21 #include "base/synchronization/waitable_event.h" 21 #include "base/synchronization/waitable_event.h"
22 #include "build/build_config.h" 22 #include "build/build_config.h"
23 #include "content/browser/child_process_launcher.h" 23 #include "content/browser/child_process_launcher.h"
24 #include "content/browser/dom_storage/session_storage_namespace_impl.h" 24 #include "content/browser/dom_storage/session_storage_namespace_impl.h"
25 #include "content/browser/renderer_host/offscreen_canvas_compositor_frame_sink_p rovider_impl.h" 25 #include "content/browser/renderer_host/offscreen_canvas_compositor_frame_sink_p rovider_impl.h"
26 #include "content/browser/webrtc/webrtc_eventlog_host.h" 26 #include "content/browser/webrtc/webrtc_eventlog_host.h"
27 #include "content/common/associated_interfaces.mojom.h" 27 #include "content/common/associated_interfaces.mojom.h"
28 #include "content/common/content_export.h" 28 #include "content/common/content_export.h"
29 #include "content/common/indexed_db/indexed_db.mojom.h"
29 #include "content/common/renderer.mojom.h" 30 #include "content/common/renderer.mojom.h"
30 #include "content/public/browser/render_process_host.h" 31 #include "content/public/browser/render_process_host.h"
31 #include "content/public/common/service_manager_connection.h" 32 #include "content/public/common/service_manager_connection.h"
32 #include "ipc/ipc_channel_proxy.h" 33 #include "ipc/ipc_channel_proxy.h"
33 #include "ipc/ipc_platform_file.h" 34 #include "ipc/ipc_platform_file.h"
34 #include "media/media_features.h" 35 #include "media/media_features.h"
35 #include "mojo/public/cpp/bindings/associated_binding.h" 36 #include "mojo/public/cpp/bindings/associated_binding.h"
36 #include "mojo/public/cpp/bindings/associated_binding_set.h" 37 #include "mojo/public/cpp/bindings/associated_binding_set.h"
37 #include "mojo/public/cpp/bindings/interface_ptr.h" 38 #include "mojo/public/cpp/bindings/interface_ptr.h"
38 #include "services/service_manager/public/cpp/interface_registry.h" 39 #include "services/service_manager/public/cpp/interface_registry.h"
(...skipping 10 matching lines...) Expand all
49 class CommandLine; 50 class CommandLine;
50 class MessageLoop; 51 class MessageLoop;
51 class SharedPersistentMemoryAllocator; 52 class SharedPersistentMemoryAllocator;
52 } 53 }
53 54
54 namespace content { 55 namespace content {
55 class AudioInputRendererHost; 56 class AudioInputRendererHost;
56 class AudioRendererHost; 57 class AudioRendererHost;
57 class ChildConnection; 58 class ChildConnection;
58 class GpuClient; 59 class GpuClient;
60 class IndexedDBDispatcherHost;
59 class InProcessChildThreadParams; 61 class InProcessChildThreadParams;
60 class MessagePortMessageFilter; 62 class MessagePortMessageFilter;
61 class NotificationMessageFilter; 63 class NotificationMessageFilter;
62 #if BUILDFLAG(ENABLE_WEBRTC) 64 #if BUILDFLAG(ENABLE_WEBRTC)
63 class P2PSocketDispatcherHost; 65 class P2PSocketDispatcherHost;
64 #endif 66 #endif
65 class PermissionServiceContext; 67 class PermissionServiceContext;
66 class PeerConnectionTrackerHost; 68 class PeerConnectionTrackerHost;
67 class RenderFrameMessageFilter; 69 class RenderFrameMessageFilter;
68 class RenderWidgetHelper; 70 class RenderWidgetHelper;
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 // Records the time when the process starts surviving for workers for UMA. 562 // Records the time when the process starts surviving for workers for UMA.
561 base::TimeTicks survive_for_worker_start_time_; 563 base::TimeTicks survive_for_worker_start_time_;
562 564
563 // Context shared for each mojom::PermissionService instance created for this 565 // Context shared for each mojom::PermissionService instance created for this
564 // RPH. 566 // RPH.
565 std::unique_ptr<PermissionServiceContext> permission_service_context_; 567 std::unique_ptr<PermissionServiceContext> permission_service_context_;
566 568
567 // The memory allocator, if any, in which the renderer will write its metrics. 569 // The memory allocator, if any, in which the renderer will write its metrics.
568 std::unique_ptr<base::SharedPersistentMemoryAllocator> metrics_allocator_; 570 std::unique_ptr<base::SharedPersistentMemoryAllocator> metrics_allocator_;
569 571
572 scoped_refptr<IndexedDBDispatcherHost> indexed_db_factory_;
573
570 bool channel_connected_; 574 bool channel_connected_;
571 bool sent_render_process_ready_; 575 bool sent_render_process_ready_;
572 576
573 #if defined(OS_ANDROID) 577 #if defined(OS_ANDROID)
574 // UI thread is the source of sync IPCs and all shutdown signals. 578 // UI thread is the source of sync IPCs and all shutdown signals.
575 // Therefore a proper shutdown event to unblock the UI thread is not 579 // Therefore a proper shutdown event to unblock the UI thread is not
576 // possible without massive refactoring shutdown code. 580 // possible without massive refactoring shutdown code.
577 // Luckily Android never performs a clean shutdown. So explicitly 581 // Luckily Android never performs a clean shutdown. So explicitly
578 // ignore this problem. 582 // ignore this problem.
579 base::WaitableEvent never_signaled_; 583 base::WaitableEvent never_signaled_;
(...skipping 14 matching lines...) Expand all
594 instance_weak_factory_; 598 instance_weak_factory_;
595 599
596 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 600 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
597 601
598 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 602 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
599 }; 603 };
600 604
601 } // namespace content 605 } // namespace content
602 606
603 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 607 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/mock_indexed_db_callbacks.cc ('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