| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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.sync.signin; | 5 package org.chromium.components.sync.signin; |
| 6 | 6 |
| 7 import android.accounts.Account; | 7 import android.accounts.Account; |
| 8 import android.accounts.AuthenticatorDescription; | 8 import android.accounts.AuthenticatorDescription; |
| 9 | 9 |
| 10 import org.chromium.base.Callback; | 10 import org.chromium.base.Callback; |
| 11 | 11 |
| 12 /** | 12 /** |
| 13 * Wrapper around the Android account manager, to facilitate dependency injectio
n during testing. | 13 * Wrapper around the Android account manager, to facilitate dependency injectio
n during testing. |
| 14 */ | 14 */ |
| 15 public interface AccountManagerDelegate { | 15 public interface AccountManagerDelegate { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 46 /** | 46 /** |
| 47 * Get all the available authenticator types. | 47 * Get all the available authenticator types. |
| 48 */ | 48 */ |
| 49 AuthenticatorDescription[] getAuthenticatorTypes(); | 49 AuthenticatorDescription[] getAuthenticatorTypes(); |
| 50 | 50 |
| 51 /** | 51 /** |
| 52 * Check whether the {@code account} has all the features listed in {@code f
eatures}. | 52 * Check whether the {@code account} has all the features listed in {@code f
eatures}. |
| 53 */ | 53 */ |
| 54 void hasFeatures(Account account, String[] features, Callback<Boolean> callb
ack); | 54 void hasFeatures(Account account, String[] features, Callback<Boolean> callb
ack); |
| 55 } | 55 } |
| OLD | NEW |