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

Unified Diff: components/signin/core/browser/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/profile_oauth2_token_service.h
diff --git a/components/signin/core/browser/profile_oauth2_token_service.h b/components/signin/core/browser/profile_oauth2_token_service.h
index 199c7909ebc9df40299c18e2d6fb9d258f71f78d..fadf1417bd1f7b6334c18bdbb471e65c614f8d39 100644
--- a/components/signin/core/browser/profile_oauth2_token_service.h
+++ b/components/signin/core/browser/profile_oauth2_token_service.h
@@ -32,7 +32,8 @@ class ProfileOAuth2TokenService : public OAuth2TokenService,
public OAuth2TokenService::Observer,
public KeyedService {
public:
- ProfileOAuth2TokenService(OAuth2TokenServiceDelegate* delegate);
+ ProfileOAuth2TokenService(
+ std::unique_ptr<OAuth2TokenServiceDelegate> delegate);
~ProfileOAuth2TokenService() override;
// KeyedService implementation.

Powered by Google App Engine
This is Rietveld 408576698