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

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: Addressed review comments Created 4 years, 11 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
Index: services/authentication/dummy_authentication_app.cc
diff --git a/services/authentication/dummy_authentication_app.cc b/services/authentication/dummy_authentication_app.cc
index a829b74e936c1cba0f7543b8e5fe3142d9905917..bc3453dc4504dc73d341c7804721c2b4e9343d76 100644
--- a/services/authentication/dummy_authentication_app.cc
+++ b/services/authentication/dummy_authentication_app.cc
@@ -51,6 +51,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