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."); |
+ return; |
qsr
2016/03/04 15:06:46
Could you remove the return. Having this as the la
ukode
2016/03/11 22:48:52
Done.
|
+ } |
+ |
+ /** |
+ * @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: |