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

Unified Diff: services/authentication/dummy_authentication_app.cc

Issue 1466733002: Google OAuth Device Flow support for FNL (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Added unit tests and fixed bugs in accounts DB. Created 5 years, 1 month 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
Index: services/authentication/dummy_authentication_app.cc
diff --git a/services/authentication/dummy_authentication_app.cc b/services/authentication/dummy_authentication_app.cc
index b98c15e54715e17f8fb3324027fe2ddd849f5439..4ef983cfeef7b21aecfb965dc5e81937120a7742 100644
--- a/services/authentication/dummy_authentication_app.cc
+++ b/services/authentication/dummy_authentication_app.cc
@@ -49,6 +49,13 @@ class DummyAuthenticationApplication
}
void ClearOAuth2Token(const mojo::String& token) override {}
+ void GetOAuth2DeviceCode(mojo::Array<mojo::String> scopes,
+ const GetOAuth2TokenCallback& callback) override {
+ callback.Run(nullptr, "Not implemented");
+ }
+
+ void AddAccount(const mojo::String& device_code) override {}
+
mojo::BindingSet<AuthenticationService> bindings_;
};

Powered by Google App Engine
This is Rietveld 408576698