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

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

Issue 2118243002: [proof-of-concept] SW thread independent of the main thread Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/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 aad3a30c3e4ffb0e12aa8b4ba1a768727f7e3326..51e0f354a5ab4ba24675f3cc7ee09644688f5969 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -79,6 +79,7 @@ class StoragePartitionImpl;
namespace mojom {
class StoragePartitionService;
+class IsolatedWorkerDispatcher;
}
typedef base::Thread* (*RendererMainThreadFactoryFunction)(
@@ -286,6 +287,13 @@ class CONTENT_EXPORT RenderProcessHostImpl
void RecomputeAndUpdateWebKitPreferences();
+ void SetIsolatedWorkerDispatcher(
+ mojo::InterfacePtr<mojom::IsolatedWorkerDispatcher>);
+
+ void GetIsolatedWorkerDispatcher(
+ const base::Callback<
+ void(mojo::InterfacePtr<mojom::IsolatedWorkerDispatcher>*)>&);
+
protected:
// A proxy for our IPC::Channel that lives on the IO thread.
std::unique_ptr<IPC::ChannelProxy> channel_;
@@ -573,6 +581,13 @@ class CONTENT_EXPORT RenderProcessHostImpl
std::unique_ptr<base::WeakPtrFactory<RenderProcessHostImpl>>
instance_weak_factory_;
+ std::unique_ptr<mojo::InterfacePtr<mojom::IsolatedWorkerDispatcher>>
+ isolated_worker_dispatcher_;
+
+ std::vector<base::Callback<void(
+ mojo::InterfacePtr<mojom::IsolatedWorkerDispatcher>*)>>
+ isolated_worker_dispatcher_callbacks_;
+
base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
« no previous file with comments | « content/browser/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