Chromium Code Reviews| Index: services/authentication/src/org/chromium/mojo/authentication/AuthenticationServiceImpl.java |
| diff --git a/services/authentication/src/org/chromium/mojo/authentication/AuthenticationServiceImpl.java b/services/authentication/src/org/chromium/mojo/authentication/AuthenticationServiceImpl.java |
| index e773498c7fdb0e3d764df2f6ae8c84c1cc4e0868..66652353cc5581327f3a4be22e2f03b36bd33190 100644 |
| --- a/services/authentication/src/org/chromium/mojo/authentication/AuthenticationServiceImpl.java |
| +++ b/services/authentication/src/org/chromium/mojo/authentication/AuthenticationServiceImpl.java |
| @@ -244,6 +244,25 @@ public class AuthenticationServiceImpl |
| } |
| } |
| + /** |
| + * @see AuthenticationService#getOAuth2DeviceCode() |
| + */ |
| + @Override |
| + public void getOAuth2DeviceCode( |
| + final String[] scopes, final GetOAuth2DeviceCodeResponse callback) { |
| + callback.call(null, null, null, "Unsupported operation."); |
|
qsr
2015/12/21 14:22:42
It seems that this CL introduce a parallel flow.
ukode
2016/01/06 23:52:59
GetOAuth2DeviceCode and AddAccount are the account
|
| + return; |
| + } |
| + |
| + /** |
| + * @see AuthenticationService#addAccount() |
| + */ |
| + @Override |
| + public void addAccount(final String deviceCode, final AddAccountResponse callback) { |
| + callback.call(null, "Unsupported operation."); |
| + return; |
| + } |
| + |
| private static boolean isGooglePlayServicesAvailable(Context context) { |
| switch (GooglePlayServicesUtil.isGooglePlayServicesAvailable(context)) { |
| case ConnectionResult.SERVICE_MISSING: |