| OLD | NEW |
| 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 CONTENT_BROWSER_ANDROID_SERVICE_REGISTRY_ANDROID_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_SERVICE_REGISTRY_ANDROID_IMPL_H_ |
| 6 #define CONTENT_BROWSER_ANDROID_SERVICE_REGISTRY_ANDROID_IMPL_H_ | 6 #define CONTENT_BROWSER_ANDROID_SERVICE_REGISTRY_ANDROID_IMPL_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 JNIEnv* env, | 36 JNIEnv* env, |
| 37 const base::android::JavaParamRef<jobject>& j_service_registry, | 37 const base::android::JavaParamRef<jobject>& j_service_registry, |
| 38 const base::android::JavaParamRef<jstring>& j_name) override; | 38 const base::android::JavaParamRef<jstring>& j_name) override; |
| 39 void ConnectToRemoteService( | 39 void ConnectToRemoteService( |
| 40 JNIEnv* env, | 40 JNIEnv* env, |
| 41 const base::android::JavaParamRef<jobject>& j_service_registry, | 41 const base::android::JavaParamRef<jobject>& j_service_registry, |
| 42 const base::android::JavaParamRef<jstring>& j_name, | 42 const base::android::JavaParamRef<jstring>& j_name, |
| 43 jint handle) override; | 43 jint handle) override; |
| 44 const base::android::ScopedJavaGlobalRef<jobject>& GetObj() override; | 44 const base::android::ScopedJavaGlobalRef<jobject>& GetObj() override; |
| 45 | 45 |
| 46 ServiceRegistry* service_registry_ = nullptr; | |
| 47 shell::InterfaceRegistry* interface_registry_ = nullptr; | 46 shell::InterfaceRegistry* interface_registry_ = nullptr; |
| 48 shell::InterfaceProvider* remote_interfaces_ = nullptr; | 47 shell::InterfaceProvider* remote_interfaces_ = nullptr; |
| 49 base::android::ScopedJavaGlobalRef<jobject> obj_; | 48 base::android::ScopedJavaGlobalRef<jobject> obj_; |
| 50 | 49 |
| 51 DISALLOW_COPY_AND_ASSIGN(ServiceRegistryAndroidImpl); | 50 DISALLOW_COPY_AND_ASSIGN(ServiceRegistryAndroidImpl); |
| 52 }; | 51 }; |
| 53 | 52 |
| 54 } // namespace content | 53 } // namespace content |
| 55 | 54 |
| 56 #endif // CONTENT_BROWSER_ANDROID_SERVICE_REGISTRY_ANDROID_IMPL_H_ | 55 #endif // CONTENT_BROWSER_ANDROID_SERVICE_REGISTRY_ANDROID_IMPL_H_ |
| OLD | NEW |