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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/firstrun/ForcedSigninProcessor.java

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.chrome.browser.firstrun; 5 package org.chromium.chrome.browser.firstrun;
6 6
7 import android.accounts.Account; 7 import android.accounts.Account;
8 import android.content.Context; 8 import android.content.Context;
9 9
10 import org.chromium.base.Callback; 10 import org.chromium.base.Callback;
11 import org.chromium.base.Log; 11 import org.chromium.base.Log;
12 import org.chromium.chrome.browser.services.AndroidEduAndChildAccountHelper; 12 import org.chromium.chrome.browser.services.AndroidEduAndChildAccountHelper;
13 import org.chromium.chrome.browser.signin.AccountManagementFragment; 13 import org.chromium.chrome.browser.signin.AccountManagementFragment;
14 import org.chromium.chrome.browser.signin.SigninManager; 14 import org.chromium.chrome.browser.signin.SigninManager;
15 import org.chromium.chrome.browser.util.FeatureUtilities; 15 import org.chromium.chrome.browser.util.FeatureUtilities;
16 import org.chromium.sync.signin.AccountManagerHelper; 16 import org.chromium.components.sync.signin.AccountManagerHelper;
17 import org.chromium.sync.signin.ChromeSigninController; 17 import org.chromium.components.sync.signin.ChromeSigninController;
18 18
19 /** 19 /**
20 * A helper to perform all necessary steps for forced sign in. 20 * A helper to perform all necessary steps for forced sign in.
21 * The helper performs: 21 * The helper performs:
22 * - necessary Android EDU and child account checks; 22 * - necessary Android EDU and child account checks;
23 * - automatic non-interactive forced sign in for Android EDU and child accounts ; and 23 * - automatic non-interactive forced sign in for Android EDU and child accounts ; and
24 * The helper calls the observer's onSignInComplete() if 24 * The helper calls the observer's onSignInComplete() if
25 * - nothing needs to be done, or when 25 * - nothing needs to be done, or when
26 * - the sign in is complete. 26 * - the sign in is complete.
27 * 27 *
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 appContext, false); 84 appContext, false);
85 } 85 }
86 86
87 @Override 87 @Override
88 public void onSignInAborted() {} 88 public void onSignInAborted() {}
89 }); 89 });
90 } 90 }
91 }); 91 });
92 } 92 }
93 } 93 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698