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..6622c3b84112a23f9a67c18fa71b5b2e9e7bc45e 100644 |
--- a/services/authentication/src/org/chromium/mojo/authentication/AuthenticationServiceImpl.java |
+++ b/services/authentication/src/org/chromium/mojo/authentication/AuthenticationServiceImpl.java |
@@ -244,6 +244,23 @@ public class AuthenticationServiceImpl |
} |
} |
+ /** |
+ * @see AuthenticationService#getOAuth2DeviceCode() |
+ */ |
+ @Override |
+ public void getOAuth2DeviceCode( |
+ final String[] scopes, final GetOAuth2DeviceCodeResponse callback) { |
+ callback.call(null, null, null, "Unsupported operation."); |
+ } |
+ |
+ /** |
+ * @see AuthenticationService#addAccount() |
+ */ |
+ @Override |
+ public void addAccount(final String deviceCode, final AddAccountResponse callback) { |
+ callback.call(null, "Unsupported operation."); |
+ } |
+ |
private static boolean isGooglePlayServicesAvailable(Context context) { |
switch (GooglePlayServicesUtil.isGooglePlayServicesAvailable(context)) { |
case ConnectionResult.SERVICE_MISSING: |