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

Unified Diff: content/browser/android/service_registry_android_impl.h

Issue 2191033002: Split ServiceRegistryAndroid into InterfaceRegistryAndroid and InterfaceProviderAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 side-by-side diff with in-line comments
Download patch
Index: content/browser/android/service_registry_android_impl.h
diff --git a/content/browser/android/service_registry_android_impl.h b/content/browser/android/service_registry_android_impl.h
deleted file mode 100644
index 10e8870ec87d75ab4eeec770c317ce10e0a85410..0000000000000000000000000000000000000000
--- a/content/browser/android/service_registry_android_impl.h
+++ /dev/null
@@ -1,55 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_ANDROID_SERVICE_REGISTRY_ANDROID_IMPL_H_
-#define CONTENT_BROWSER_ANDROID_SERVICE_REGISTRY_ANDROID_IMPL_H_
-
-#include <jni.h>
-
-#include "base/macros.h"
-#include "content/public/browser/android/service_registry_android.h"
-
-namespace content {
-
-class ServiceRegistryAndroidImpl : public ServiceRegistryAndroid {
- public:
- static bool Register(JNIEnv* env);
-
- ~ServiceRegistryAndroidImpl() override;
-
- private:
- friend class ServiceRegistryAndroid;
-
- // Use ServiceRegistryAndroid::Create() to create an instance.
- ServiceRegistryAndroidImpl(shell::InterfaceRegistry* interface_registry,
- shell::InterfaceProvider* remote_interfaces);
-
- // ServiceRegistryAndroid implementation:
- void AddService(
- JNIEnv* env,
- const base::android::JavaParamRef<jobject>& j_service_registry,
- const base::android::JavaParamRef<jobject>& j_manager,
- const base::android::JavaParamRef<jobject>& j_factory,
- const base::android::JavaParamRef<jstring>& j_name) override;
- void RemoveService(
- JNIEnv* env,
- const base::android::JavaParamRef<jobject>& j_service_registry,
- const base::android::JavaParamRef<jstring>& j_name) override;
- void ConnectToRemoteService(
- JNIEnv* env,
- const base::android::JavaParamRef<jobject>& j_service_registry,
- const base::android::JavaParamRef<jstring>& j_name,
- jint handle) override;
- const base::android::ScopedJavaGlobalRef<jobject>& GetObj() override;
-
- shell::InterfaceRegistry* interface_registry_ = nullptr;
- shell::InterfaceProvider* remote_interfaces_ = nullptr;
- base::android::ScopedJavaGlobalRef<jobject> obj_;
-
- DISALLOW_COPY_AND_ASSIGN(ServiceRegistryAndroidImpl);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_ANDROID_SERVICE_REGISTRY_ANDROID_IMPL_H_
« no previous file with comments | « content/browser/android/interface_registry_android_impl.cc ('k') | content/browser/android/service_registry_android_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698