| OLD | NEW |
| 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.signin; | 5 package org.chromium.chrome.browser.signin; |
| 6 | 6 |
| 7 import android.accounts.Account; | 7 import android.accounts.Account; |
| 8 import android.app.Activity; | 8 import android.app.Activity; |
| 9 import android.content.Intent; | 9 import android.content.Intent; |
| 10 import android.net.Uri; | 10 import android.net.Uri; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 SigninManager.get(activity).signOut(activity, null); | 49 SigninManager.get(activity).signOut(activity, null); |
| 50 } | 50 } |
| 51 | 51 |
| 52 @Override | 52 @Override |
| 53 public void openSyncCustomizationFragment(final Preferences activity, final
Account account) { | 53 public void openSyncCustomizationFragment(final Preferences activity, final
Account account) { |
| 54 Bundle args = new Bundle(); | 54 Bundle args = new Bundle(); |
| 55 args.putString(SyncCustomizationFragment.ARGUMENT_ACCOUNT, account.name)
; | 55 args.putString(SyncCustomizationFragment.ARGUMENT_ACCOUNT, account.name)
; |
| 56 activity.startFragment(SyncCustomizationFragment.class.getName(), args); | 56 activity.startFragment(SyncCustomizationFragment.class.getName(), args); |
| 57 } | 57 } |
| 58 } | 58 } |
| OLD | NEW |