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

Side by Side Diff: content/browser/mojo/interface_registrar_android.h

Issue 1486043002: [webnfc] Implement push method for Android nfc mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@step_6_add_mojo_service_CL
Patch Set: Move WindowAndroidChangedObserver to other observers in content layer Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_MOJO_INTERFACE_REGISTRAR_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_MOJO_INTERFACE_REGISTRAR_ANDROID_H_
6 #define CONTENT_BROWSER_MOJO_INTERFACE_REGISTRAR_ANDROID_H_ 6 #define CONTENT_BROWSER_MOJO_INTERFACE_REGISTRAR_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 namespace content { 10 namespace content {
11 11
12 class InterfaceRegistryAndroid; 12 class InterfaceRegistryAndroid;
13 class RenderFrameHost;
13 14
14 // Registrar for interfaces implemented in Java exposed by the browser. This 15 // Registrar for interfaces implemented in Java exposed by the browser. This
15 // calls into Java where the services are registered with the indicated 16 // calls into Java where the services are registered with the indicated
16 // registry. 17 // registry.
17 class InterfaceRegistrarAndroid { 18 class InterfaceRegistrarAndroid {
18 public: 19 public:
19 static void ExposeInterfacesToRenderer(InterfaceRegistryAndroid* registry); 20 static void ExposeInterfacesToRenderer(InterfaceRegistryAndroid* registry);
20 static void ExposeInterfacesToFrame(InterfaceRegistryAndroid* registry); 21 static void ExposeInterfacesToFrame(InterfaceRegistryAndroid* registry,
22 RenderFrameHost* frame);
21 }; 23 };
22 24
23 } // namespace content 25 } // namespace content
24 26
25 #endif // CONTENT_BROWSER_MOJO_INTERFACE_REGISTRAR_ANDROID_H_ 27 #endif // CONTENT_BROWSER_MOJO_INTERFACE_REGISTRAR_ANDROID_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/mojo/interface_registrar_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698