Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(615)

Unified Diff: components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java

Issue 2351703003: Refactor: move components/sync/../signin to components/signin/../ (Closed)
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java
diff --git a/components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java b/components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java
index ac6636cbcafba6271e231d6d181c881b1290995f..a8517449c7d7d87ee9354a2bf4fe9d6fa5508767 100644
--- a/components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java
+++ b/components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java
@@ -14,7 +14,8 @@ import android.os.StrictMode;
import org.chromium.base.Callback;
import org.chromium.base.ObserverList;
import org.chromium.base.VisibleForTesting;
-import org.chromium.components.sync.signin.AccountManagerHelper;
+import org.chromium.components.signin.AccountManagerHelper;
+import org.chromium.components.signin.ChromeSigninController;
import javax.annotation.concurrent.ThreadSafe;
@@ -92,6 +93,8 @@ public class AndroidSyncSettings {
mSyncContentResolverDelegate = syncContentResolverDelegate;
mContractAuthority = getContractAuthority();
+ mAccount = ChromeSigninController.get(context).getSignedInUser();
+ updateSyncability();
updateCachedSettings();
mSyncContentResolverDelegate.addStatusChangeListener(

Powered by Google App Engine
This is Rietveld 408576698