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

Unified Diff: components/signin/core/browser/fake_profile_oauth2_token_service.h

Issue 2685123002: Make OAuth2TokenService and subclasses take delegate by unique_ptr (Closed)
Patch Set: Created 3 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: components/signin/core/browser/fake_profile_oauth2_token_service.h
diff --git a/components/signin/core/browser/fake_profile_oauth2_token_service.h b/components/signin/core/browser/fake_profile_oauth2_token_service.h
index 043fc9a7cdbc18e82cf709e61c532dc55405db1e..f2301fdbd8027211d9850f0ceacc5c4172992f96 100644
--- a/components/signin/core/browser/fake_profile_oauth2_token_service.h
+++ b/components/signin/core/browser/fake_profile_oauth2_token_service.h
@@ -48,7 +48,8 @@ class FakeProfileOAuth2TokenService : public ProfileOAuth2TokenService {
};
FakeProfileOAuth2TokenService();
- explicit FakeProfileOAuth2TokenService(OAuth2TokenServiceDelegate* delegate);
+ explicit FakeProfileOAuth2TokenService(
+ std::unique_ptr<OAuth2TokenServiceDelegate> delegate);
~FakeProfileOAuth2TokenService() override;
// Gets a list of active requests (can be used by tests to validate that the

Powered by Google App Engine
This is Rietveld 408576698