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

Unified Diff: services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc

Issue 1466733002: Google OAuth Device Flow support for FNL (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebased to master Created 4 years, 10 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/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc
diff --git a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc
index 4f4a9a866b8351e44146de47c7c94ebc1e789642..19abdd4d35e4b46a93b6784c4493ea856b008f98 100644
--- a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc
+++ b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc
@@ -106,6 +106,15 @@ class MockAuthenticationService : public authentication::AuthenticationService {
num_clear_token_calls_++;
use_fresh_token_ = true;
}
+ void GetOAuth2DeviceCode(
+ mojo::Array<mojo::String> scopes,
+ const GetOAuth2DeviceCodeCallback& callback) override {
+ callback.Run(nullptr, nullptr, nullptr, "Not implemented");
+ }
+ void AddAccount(const mojo::String& device_code,
+ const AddAccountCallback& callback) override {
+ callback.Run(nullptr, "Not implemented");
+ }
Binding<authentication::AuthenticationService> binding_;
uint32_t num_select_account_calls_;

Powered by Google App Engine
This is Rietveld 408576698