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 9bf7aa2c2978f707555d63377afbdecca220d3a7..cb684a9f33d8c0838b63874058aa37afb52bded4 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 |
@@ -102,11 +102,23 @@ class MockAuthenticationService : public authentication::AuthenticationService { |
} |
callback.Run(kCachedToken, nullptr); |
} |
+ |
void ClearOAuth2Token(const mojo::String& token) override { |
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_; |
uint32_t num_get_token_calls_; |