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

Unified Diff: components/gcm_driver/gcm_account_mapper.cc

Issue 594383003: [GCM] Passing GCMClient::AccountTokenInfo list to GCMDriver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@account-mapper
Patch Set: Rebased Created 6 years, 3 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/gcm_driver/gcm_account_mapper.cc
diff --git a/components/gcm_driver/gcm_account_mapper.cc b/components/gcm_driver/gcm_account_mapper.cc
index 9b5ccb739444d5c0b0bcf4385ae0755dcf4af228..046abcd3918554b99c316ee0d9266d5549884704 100644
--- a/components/gcm_driver/gcm_account_mapper.cc
+++ b/components/gcm_driver/gcm_account_mapper.cc
@@ -56,7 +56,7 @@ void GCMAccountMapper::Initialize(
}
void GCMAccountMapper::SetAccountTokens(
- const std::vector<GCMClient::AccountTokenInfo> account_tokens) {
+ const std::vector<GCMClient::AccountTokenInfo>& account_tokens) {
// If account mapper is not ready to handle tasks yet, save the latest
// account tokens and return.
if (!IsReady()) {

Powered by Google App Engine
This is Rietveld 408576698