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

Side by Side Diff: content/browser/android/service_registry_android_impl.h

Issue 2105653002: Delete content::ServiceRegistry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ew
Patch Set: . Created 4 years, 5 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
« no previous file with comments | « no previous file | content/browser/android/service_registry_android_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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
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_
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/service_registry_android_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698