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

Unified Diff: components/signin/ios/browser/profile_oauth2_token_service_ios_unittest.mm

Issue 809313009: Make the SigninErrorController a PKS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary header Created 5 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
« no previous file with comments | « components/signin/ios/browser/profile_oauth2_token_service_ios.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/signin/ios/browser/profile_oauth2_token_service_ios_unittest.mm
diff --git a/components/signin/ios/browser/profile_oauth2_token_service_ios_unittest.mm b/components/signin/ios/browser/profile_oauth2_token_service_ios_unittest.mm
index 11e9840d8217767ddfd2b3b376d94fca0653e293..03e8c88bde1c78995dd8a600b35026ea381353dd 100644
--- a/components/signin/ios/browser/profile_oauth2_token_service_ios_unittest.mm
+++ b/components/signin/ios/browser/profile_oauth2_token_service_ios_unittest.mm
@@ -32,7 +32,7 @@ class ProfileOAuth2TokenServiceIOSTest : public testing::Test,
net::HTTP_OK,
net::URLRequestStatus::SUCCESS);
fake_provider_ = client_.GetIOSProviderAsFake();
- oauth2_service_.Initialize(&client_);
+ oauth2_service_.Initialize(&client_, &signin_error_controller_);
oauth2_service_.AddObserver(this);
}
@@ -75,6 +75,7 @@ class ProfileOAuth2TokenServiceIOSTest : public testing::Test,
base::MessageLoop message_loop_;
net::FakeURLFetcherFactory factory_;
TestSigninClient client_;
+ SigninErrorController signin_error_controller_;
ios::FakeProfileOAuth2TokenServiceIOSProvider* fake_provider_;
ProfileOAuth2TokenServiceIOS oauth2_service_;
TestingOAuth2TokenServiceConsumer consumer_;
« no previous file with comments | « components/signin/ios/browser/profile_oauth2_token_service_ios.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698