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

Unified Diff: content/public/browser/utility_process_host.h

Issue 862813002: WIP: Prototype OOP V8 PAC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Slight cleanup and report JS memory usage. Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/process_resource.h ('k') | content/public/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/utility_process_host.h
diff --git a/content/public/browser/utility_process_host.h b/content/public/browser/utility_process_host.h
index 07f46ee0c7439a8b3514acb9bfd009d4478a1895..f7fadc89e5926484b1b6cd2e32f4c787b6067fd0 100644
--- a/content/public/browser/utility_process_host.h
+++ b/content/public/browser/utility_process_host.h
@@ -17,6 +17,7 @@ class SequencedTaskRunner;
}
namespace content {
+class ServiceRegistry;
class UtilityProcessHostClient;
struct ChildProcessData;
@@ -72,6 +73,12 @@ class UtilityProcessHost : public IPC::Sender,
#if defined(OS_POSIX)
virtual void SetEnv(const base::EnvironmentMap& env) = 0;
#endif
+
+ // Starts the utility process in Mojo mode.
+ virtual bool StartMojoMode() = 0;
+
+ // Returns the ServiceRegistry for this process.
+ virtual ServiceRegistry* GetServiceRegistry() = 0;
};
}; // namespace content
« no previous file with comments | « content/public/browser/process_resource.h ('k') | content/public/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698