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

Side by Side Diff: chrome/browser/android/mojo/chrome_service_registrar_android.h

Issue 1902913002: Provide web contents to Chrome's mojo services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 CHROME_BROWSER_ANDROID_MOJO_CHROME_SERVICE_REGISTRAR_ANDROID_H_ 5 #ifndef CHROME_BROWSER_ANDROID_MOJO_CHROME_SERVICE_REGISTRAR_ANDROID_H_
6 #define CHROME_BROWSER_ANDROID_MOJO_CHROME_SERVICE_REGISTRAR_ANDROID_H_ 6 #define CHROME_BROWSER_ANDROID_MOJO_CHROME_SERVICE_REGISTRAR_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 namespace content { 10 namespace content {
11 class RenderFrameHost;
11 class ServiceRegistry; 12 class ServiceRegistry;
12 } 13 }
13 14
14 class ChromeServiceRegistrarAndroid { 15 class ChromeServiceRegistrarAndroid {
15 public: 16 public:
16 static bool Register(JNIEnv* env); 17 static bool Register(JNIEnv* env);
17 static void RegisterRenderFrameMojoServices( 18 static void RegisterRenderFrameMojoServices(
18 content::ServiceRegistry* registry); 19 content::ServiceRegistry* registry,
20 content::RenderFrameHost* render_frame_host);
19 21
20 private: 22 private:
21 ChromeServiceRegistrarAndroid() {} 23 ChromeServiceRegistrarAndroid() {}
22 ~ChromeServiceRegistrarAndroid() {} 24 ~ChromeServiceRegistrarAndroid() {}
23 }; 25 };
24 26
25 #endif // CHROME_BROWSER_ANDROID_MOJO_CHROME_SERVICE_REGISTRAR_ANDROID_H_ 27 #endif // CHROME_BROWSER_ANDROID_MOJO_CHROME_SERVICE_REGISTRAR_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/android/java_sources.gni ('k') | chrome/browser/android/mojo/chrome_service_registrar_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698