Index: chrome/android/javatests/src/org/chromium/chrome/browser/preferences/website/SiteSettingsPreferencesTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/website/SiteSettingsPreferencesTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/website/SiteSettingsPreferencesTest.java |
index fbc47426ca27763beeb93a9e2a827213dc990c90..4f3fa97118d6aac268578d1c09ed900000d1a9c6 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/website/SiteSettingsPreferencesTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/website/SiteSettingsPreferencesTest.java |
@@ -584,7 +584,7 @@ public class SiteSettingsPreferencesTest extends ChromeActivityTestCaseBase<Chro |
* Helper function to test allowing and blocking background sync. |
* @param enabled true to test enabling background sync, false to test disabling the feature. |
*/ |
- private void testBackgroundSyncPermission(final boolean enabled) { |
+ private void doTestBackgroundSyncPermission(final boolean enabled) { |
setEnableBackgroundSync(enabled); |
ThreadUtils.runOnUiThreadBlocking(new Runnable() { |
@Override |
@@ -598,13 +598,13 @@ public class SiteSettingsPreferencesTest extends ChromeActivityTestCaseBase<Chro |
@SmallTest |
@Feature({"Preferences"}) |
public void testAllowBackgroundSync() { |
- testBackgroundSyncPermission(true); |
+ doTestBackgroundSyncPermission(true); |
} |
@SmallTest |
@Feature({"Preferences"}) |
public void testBlockBackgroundSync() { |
- testBackgroundSyncPermission(false); |
+ doTestBackgroundSyncPermission(false); |
} |
private int getTabCount() { |