Skip to content
Commit 193324b5 authored by Ritika Gupta's avatar Ritika Gupta Committed by Chromium LUCI CQ
Browse files

[Data Sharing] Adding JNI bridge for DataSharingSDKDelegate.

This CL contains changes to use DataSharingSDKDelegate interface in
Java. For this following changes have been made.
- DataSharingSDKDelegate moved to components/data_sharing/public
- Implemented a copy of same interface in Java, inorder to detect
  issues at compile time.
- Added JNI class implementation of SDKDelegate in c++ in components/
- Added JNI bridge implementation of SDKDelegate in Java in components/
- Added SDKDelegateImpl in java as the public class implementing
  GroupManagement APIs.
- JNI conversion of callbacks and passing appropriate parameters to
  DataSharingSDKDelegateBridge.

Low-Coverage-Reason: TRIVIAL_CHANGE Changes are already tested in other unit tests.
Bug: b/333403019
Change-Id: I4db458d6c7590e6056158ad8b43af90cbb9392c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5474987


Commit-Queue: Ritika Gupta <ritikagup@google.com>
Reviewed-by: default avatarTommy Nyquist <nyquist@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1310988}
parent 3d42fcdb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment