Index: chrome/android/java/src/org/chromium/chrome/browser/sync/SyncController.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncController.java b/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncController.java |
index ee147268b565156fef14f9116ba89802afd93640..b48da08fd4a5963b854dfde1dec757bca33ff0ae 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncController.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncController.java |
@@ -10,6 +10,7 @@ import android.content.Context; |
import android.util.Log; |
import org.chromium.base.ThreadUtils; |
+import org.chromium.base.VisibleForTesting; |
import org.chromium.chrome.browser.identity.UniqueIdentificationGeneratorFactory; |
import org.chromium.chrome.browser.invalidation.InvalidationController; |
import org.chromium.chrome.browser.signin.AccountManagementFragment; |
@@ -99,6 +100,7 @@ public class SyncController implements ProfileSyncService.SyncStateChangedListen |
* @param activity the current activity. |
* @param accountName the full account name. |
*/ |
+ @VisibleForTesting |
public void signIn(Activity activity, String accountName) { |
final Account account = AccountManagerHelper.createAccountFromName(accountName); |