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

Side by Side Diff: content/browser/mojo/service_registrar_android.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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_MOJO_SERVICE_REGISTRAR_ANDROID_H_
6 #define CONTENT_BROWSER_MOJO_SERVICE_REGISTRAR_ANDROID_H_
7
8 #include <jni.h>
9
10 namespace content {
11
12 class ServiceRegistryAndroid;
13
14 // Registrar for mojo services in Java exposed by the browser. This calls into
15 // Java where the services are registered with the indicated registry.
16 class ServiceRegistrarAndroid {
17 public:
18 static bool Register(JNIEnv* env);
19 static void RegisterProcessHostServices(ServiceRegistryAndroid* registry);
20 };
21
22 } // namespace content
23
24 #endif // CONTENT_BROWSER_MOJO_SERVICE_REGISTRAR_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698