Replace mojo objects with mojoptr

This commit is contained in:
deeppandya
2024-09-06 03:22:17 +05:30
parent 11877b3541
commit 71193aa17b
4 changed files with 50 additions and 42 deletions
@@ -257,9 +257,12 @@ public class BraveVpnNativeWorker {
void reloadPurchasedState(long nativeBraveVpnNativeWorker);
boolean isPurchasedUser(long nativeBraveVpnNativeWorker);
void getSubscriberCredentialV12(long nativeBraveVpnNativeWorker);
void reportBackgroundP3A(
long nativeBraveVpnNativeWorker, long sessionStartTimeMs, long sessionEndTimeMs);
void reportForegroundP3A(long nativeBraveVpnNativeWorker);
}
}
@@ -1,8 +1,8 @@
/**
* Copyright (c) 2021 The Brave Authors. All rights reserved. This Source Code Form is subject to
* the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
* this file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
/* Copyright (c) 2024 The Brave Authors. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at https://mozilla.org/MPL/2.0/. */
package org.chromium.chrome.browser.vpn.adapters;
import android.content.Context;