diff --git a/build/android/lint/baseline.xml b/build/android/lint/baseline.xml
index 72714764953c3a..146dc6faed66c4 100644
--- a/build/android/lint/baseline.xml
+++ b/build/android/lint/baseline.xml
@@ -199,17 +199,6 @@
column="17"/>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
getStateToBeMergedFileNames() {
* @param selectorIndex The index that represents which state file to pull and save state to.
* @return The name of the state file.
*/
- @VisibleForTesting
public static String getStateFileName(int selectorIndex) {
return TabPersistentStore.getStateFileName(Integer.toString(selectorIndex));
}
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tasks/ConditionalTabStripUtils.java b/chrome/android/java/src/org/chromium/chrome/browser/tasks/ConditionalTabStripUtils.java
index 8102adecf9db4d..66561534f48ecf 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/tasks/ConditionalTabStripUtils.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tasks/ConditionalTabStripUtils.java
@@ -171,7 +171,6 @@ private static void recordUserStatusEnums(@UserStatus int userStatus) {
*
* @param featureStatus the target {@link FeatureStatus} to set.
*/
- @VisibleForTesting
public static void setFeatureStatus(@FeatureStatus int featureStatus) {
SharedPreferencesManager sharedPreferencesManager = SharedPreferencesManager.getInstance();
sharedPreferencesManager.writeInt(FEATURE_STATUS, featureStatus);
@@ -219,7 +218,6 @@ public static int getContinuousDismissCount() {
*
* @param count the updated count to save into SharedPreference.
*/
- @VisibleForTesting
public static void setContinuousDismissCount(int count) {
SharedPreferencesManager sharedPreferencesManager = SharedPreferencesManager.getInstance();
sharedPreferencesManager.writeInt(CONTINUOUS_DISMISS_COUNTER, count);
@@ -229,7 +227,6 @@ public static void setContinuousDismissCount(int count) {
* Get the boolean indicator that indicates whether this user has opt-outed the conditional tab
* strip feature from SharedPreference.
*/
- @VisibleForTesting
public static boolean getOptOutIndicator() {
SharedPreferencesManager sharedPreferencesManager = SharedPreferencesManager.getInstance();
return sharedPreferencesManager.readBoolean(OPT_OUT_INDICATOR, false);
@@ -241,7 +238,6 @@ public static boolean getOptOutIndicator() {
*
* @param isOptOut the boolean indicator to save into SharedPreference.
*/
- @VisibleForTesting
public static void setOptOutIndicator(boolean isOptOut) {
SharedPreferencesManager sharedPreferencesManager = SharedPreferencesManager.getInstance();
sharedPreferencesManager.writeBoolean(OPT_OUT_INDICATOR, isOptOut);
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java b/content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java
index 63456a35f430c7..68c1f0f717c5b3 100644
--- a/content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java
+++ b/content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java
@@ -5,7 +5,6 @@
package org.chromium.content_public.browser;
import androidx.annotation.Nullable;
-import androidx.annotation.VisibleForTesting;
/**
* The NavigationController Java wrapper to allow communicating with the native
@@ -144,7 +143,6 @@ public interface NavigationController {
* @param index Index to retrieve the NavigationEntry for.
* @return Entry containing info about the navigation, null if the index is out of bounds.
*/
- @VisibleForTesting
public NavigationEntry getEntryAtIndex(int index);
/**