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

Unified Diff: chrome/browser/signin/fake_profile_oauth2_token_service.h

Issue 1165323004: We should use UserID object to identify users instead of username. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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: chrome/browser/signin/fake_profile_oauth2_token_service.h
diff --git a/chrome/browser/signin/fake_profile_oauth2_token_service.h b/chrome/browser/signin/fake_profile_oauth2_token_service.h
index 9a5b97c82318da520cbc7da0473251f5440d3c48..86ff8bfe8dd9ba3f1c66c71082e66ee83010433d 100644
--- a/chrome/browser/signin/fake_profile_oauth2_token_service.h
+++ b/chrome/browser/signin/fake_profile_oauth2_token_service.h
@@ -152,7 +152,7 @@ class FakeProfileOAuth2TokenService
std::vector<PendingRequest> pending_requests_;
// Maps account ids to their refresh token strings.
- std::map<std::string, std::string> refresh_tokens_;
+ std::map<user_manager::UserID, std::string> refresh_tokens_;
// If true, then this fake service will post responses to
// |FetchOAuth2Token| on the current run loop. There is no need to call

Powered by Google App Engine
This is Rietveld 408576698