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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/firstrun/AccountFirstRunFragment.java

Issue 1745563002: Revert of Created the dialog offering the user to merge their account data or keep it (Closed) Base URL: maybelle.lon.corp.google.com:/usr/local/google/code/clankium/src@sync_settings
Patch Set: Created 4 years, 10 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: chrome/android/java/src/org/chromium/chrome/browser/firstrun/AccountFirstRunFragment.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/firstrun/AccountFirstRunFragment.java b/chrome/android/java/src/org/chromium/chrome/browser/firstrun/AccountFirstRunFragment.java
index 5557e05356b579e967ab36edc35905f0c8e08815..be16f4c33833c1c12f7decd2ce070f4ef6d0f0f2 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/firstrun/AccountFirstRunFragment.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/firstrun/AccountFirstRunFragment.java
@@ -12,24 +12,23 @@
import android.view.ViewGroup;
import org.chromium.chrome.R;
-import org.chromium.chrome.browser.signin.AccountSigninView;
/**
* A {@link Fragment} meant to handle sync setup for the first run experience.
*/
-public class AccountFirstRunFragment extends FirstRunPage implements AccountSigninView.Delegate {
+public class AccountFirstRunFragment extends FirstRunPage {
// Per-page parameters:
public static final String FORCE_SIGNIN_ACCOUNT_TO = "ForceSigninAccountTo";
public static final String PRESELECT_BUT_ALLOW_TO_CHANGE = "PreselectButAllowToChange";
public static final String IS_CHILD_ACCOUNT = "IsChildAccount";
- private AccountSigninView mView;
+ private AccountFirstRunView mView;
@Override
public View onCreateView(
LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
- mView = (AccountSigninView) inflater.inflate(
- R.layout.account_signin_view, container, false);
+ mView = (AccountFirstRunView) inflater.inflate(
+ R.layout.fre_choose_account, container, false);
return mView;
}
@@ -37,7 +36,7 @@
public void onViewCreated(View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
- mView.setListener(new AccountSigninView.Listener() {
+ mView.setListener(new AccountFirstRunView.Listener() {
@Override
public void onAccountSelectionCanceled() {
getPageDelegate().refuseSignIn();
@@ -71,8 +70,8 @@
// The user would have to go through the FRE again.
getPageDelegate().abortFirstRunExperience();
}
+
});
- mView.setDelegate(this);
mView.init(getPageDelegate().getProfileDataCache());

Powered by Google App Engine
This is Rietveld 408576698