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

Unified Diff: content/browser/utility_process_host_impl.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/browser/process_resource_impl.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/utility_process_host_impl.h
diff --git a/content/browser/utility_process_host_impl.h b/content/browser/utility_process_host_impl.h
index c310e9b4bf0c200139ac587fc77bf41342ad8355..f8b81ac479667cb4f406a12e1c59e42882b643f9 100644
--- a/content/browser/utility_process_host_impl.h
+++ b/content/browser/utility_process_host_impl.h
@@ -14,6 +14,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
+#include "content/browser/mojo/mojo_application_host.h"
#include "content/public/browser/browser_child_process_host_delegate.h"
#include "content/public/browser/utility_process_host.h"
@@ -54,6 +55,8 @@ class CONTENT_EXPORT UtilityProcessHostImpl
#if defined(OS_POSIX)
void SetEnv(const base::EnvironmentMap& env) override;
#endif
+ bool StartMojoMode() override;
+ ServiceRegistry* GetServiceRegistry() override;
void set_child_flags(int flags) { child_flags_ = flags; }
@@ -66,6 +69,7 @@ class CONTENT_EXPORT UtilityProcessHostImpl
bool OnMessageReceived(const IPC::Message& message) override;
void OnProcessLaunchFailed() override;
void OnProcessCrashed(int exit_code) override;
+ void OnProcessLaunched() override;
// A pointer to our client interface, who will be informed of progress.
scoped_refptr<UtilityProcessHostClient> client_;
@@ -98,6 +102,8 @@ class CONTENT_EXPORT UtilityProcessHostImpl
// Used in single-process mode instead of process_.
scoped_ptr<base::Thread> in_process_thread_;
+ MojoApplicationHost mojo_application_host_;
+
DISALLOW_COPY_AND_ASSIGN(UtilityProcessHostImpl);
};
« no previous file with comments | « content/browser/process_resource_impl.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698