Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

Unified Diff: services/authentication/src/org/chromium/mojo/authentication/AuthenticationServiceImpl.java

Issue 1466733002: Google OAuth Device Flow support for FNL (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Removed data_unittest.py Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/authentication/main.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « services/authentication/main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698