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

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

Issue 641703002: Rewrite the Android implementation of BatteryMonitor directly in Java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@battery-status-api-to-mojo
Patch Set: Address Ben's comments, update GN build, polish. Created 6 years 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/mojo/mojo_application_host.h
diff --git a/content/browser/mojo/mojo_application_host.h b/content/browser/mojo/mojo_application_host.h
index 1825b3eab55f2444c3e7dddceb7ebee4cc8b2885..d207055cfa741cf87b64dd9d2f18bd135788f452 100644
--- a/content/browser/mojo/mojo_application_host.h
+++ b/content/browser/mojo/mojo_application_host.h
@@ -41,6 +41,11 @@ class MojoApplicationHost {
ServiceRegistry* service_registry() { return &service_registry_; }
+#if defined(OS_ANDROID)
+ ServiceRegistryAndroid* service_registry_android() {
+ return service_registry_android_.get();
+ }
+#endif
qsr 2014/12/12 15:31:57 Keep a space before private:
ppi 2014/12/12 16:02:16 Done.
private:
mojo::embedder::ChannelInit channel_init_;
mojo::embedder::ScopedPlatformHandle client_handle_;

Powered by Google App Engine
This is Rietveld 408576698