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

Unified Diff: content/browser/mojo/mojo_child_connection.h

Issue 2096643002: Eliminate MojoApplicationHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mah3
Patch Set: . Created 4 years, 6 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/mojo/mojo_application_host.cc ('k') | content/browser/mojo/mojo_child_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/mojo/mojo_child_connection.h
diff --git a/content/browser/mojo/mojo_child_connection.h b/content/browser/mojo/mojo_child_connection.h
index 1cb07cafb1d6bf081784f96827cc17d9df6cd027..4b9a8a3956dda77e50da99e9652a822e1ab86b2c 100644
--- a/content/browser/mojo/mojo_child_connection.h
+++ b/content/browser/mojo/mojo_child_connection.h
@@ -12,6 +12,10 @@
#include "base/process/process_handle.h"
#include "services/shell/public/interfaces/connector.mojom.h"
+#if defined(OS_ANDROID)
+#include "content/public/browser/android/service_registry_android.h"
+#endif
+
namespace shell {
class Connection;
class Connector;
@@ -48,11 +52,21 @@ class MojoChildConnection {
// functional until this is called.
void SetProcessHandle(base::ProcessHandle handle);
+#if defined(OS_ANDROID)
+ ServiceRegistryAndroid* service_registry_android() {
+ return service_registry_android_.get();
+ }
+#endif
+
private:
const std::string shell_client_token_;
std::unique_ptr<shell::Connection> connection_;
shell::mojom::PIDReceiverPtr pid_receiver_;
+#if defined(OS_ANDROID)
+ std::unique_ptr<ServiceRegistryAndroid> service_registry_android_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(MojoChildConnection);
};
« no previous file with comments | « content/browser/mojo/mojo_application_host.cc ('k') | content/browser/mojo/mojo_child_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698