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

Unified Diff: content/browser/utility_process_host_impl.h

Issue 2832633002: Add PDF compositor service (Closed)
Patch Set: rebase again Created 3 years, 8 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
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 23da5be3f9d1c107d25d9b745cdfb6f68a3c4ebc..067ca5dc29bcf243acb11c5ea1738e5b3d5a0ebe 100644
--- a/content/browser/utility_process_host_impl.h
+++ b/content/browser/utility_process_host_impl.h
@@ -23,6 +23,10 @@ class SequencedTaskRunner;
class Thread;
}
+namespace service_manager {
+class BinderRegistry;
+}
+
namespace content {
class BrowserChildProcessHostImpl;
class InProcessChildThreadParams;
@@ -60,6 +64,7 @@ class CONTENT_EXPORT UtilityProcessHostImpl
void BindInterface(const std::string& interface_name,
mojo::ScopedMessagePipeHandle interface_pipe) override;
void SetName(const base::string16& name) override;
+ void RegisterMojoServices() override;
void set_child_flags(int flags) { child_flags_ = flags; }
@@ -81,6 +86,9 @@ class CONTENT_EXPORT UtilityProcessHostImpl
// Cleans up |this| as a result of a failed Start().
void NotifyAndDelete(int error_code);
+ void RegisterMojoServicesOnUIThread(
+ service_manager::BinderRegistry* registry);
+
// Notifies the client that the launch failed and deletes |host|.
static void NotifyLaunchFailedAndDelete(
base::WeakPtr<UtilityProcessHostImpl> host,

Powered by Google App Engine
This is Rietveld 408576698