/external/chromium_org/components/gcm_driver/ |
D | gcm_account_mapper_unittest.cc | 301 std::vector<GCMClient::AccountTokenInfo> account_tokens; in TEST_F() local 302 account_tokens.push_back(MakeAccountTokenInfo("acc_id2")); in TEST_F() 303 mapper()->SetAccountTokens(account_tokens); in TEST_F() 356 std::vector<GCMClient::AccountTokenInfo> account_tokens; in TEST_F() local 357 account_tokens.push_back(MakeAccountTokenInfo("acc_id")); in TEST_F() 358 mapper()->SetAccountTokens(account_tokens); in TEST_F() 362 account_tokens.clear(); in TEST_F() 363 account_tokens.push_back(MakeAccountTokenInfo("acc_id1")); in TEST_F() 364 account_tokens.push_back(MakeAccountTokenInfo("acc_id2")); in TEST_F() 365 mapper()->SetAccountTokens(account_tokens); in TEST_F() [all …]
|
D | gcm_client_impl_unittest.cc | 561 EXPECT_TRUE(device_checkin_info().account_tokens.empty()); in TEST_F() 846 std::map<std::string, std::string> account_tokens; in TEST_F() local 847 account_tokens["test_user1@gmail.com"] = "token1"; in TEST_F() 848 account_tokens["test_user2@gmail.com"] = "token2"; in TEST_F() 849 gcm_client()->SetAccountsForCheckin(account_tokens); in TEST_F() 853 EXPECT_EQ(account_tokens, device_checkin_info().account_tokens); in TEST_F() 866 EXPECT_EQ(account_tokens, device_checkin_info().account_tokens); in TEST_F() 882 std::map<std::string, std::string> account_tokens; in TEST_F() local 883 account_tokens["test_user1@gmail.com"] = "token1"; in TEST_F() 884 account_tokens["test_user2@gmail.com"] = "token2"; in TEST_F() [all …]
|
D | gcm_client_impl.cc | 228 account_tokens.begin(); in SnapshotCheckinAccounts() 229 iter != account_tokens.end(); in SnapshotCheckinAccounts() 239 account_tokens.clear(); in Reset() 407 const std::map<std::string, std::string>& account_tokens) { in SetAccountsForCheckin() argument 409 device_checkin_info_.account_tokens = account_tokens; in SetAccountsForCheckin() 412 DVLOG(1) << "Set account called with: " << account_tokens.size() in SetAccountsForCheckin() 423 if (account_tokens.find(*iter) == account_tokens.end()) in SetAccountsForCheckin() 466 device_checkin_info_.account_tokens, in StartCheckin()
|
D | gcm_account_mapper.cc | 59 const std::vector<GCMClient::AccountTokenInfo> account_tokens) { in SetAccountTokens() argument 63 pending_account_tokens_ = account_tokens; in SetAccountTokens() 80 account_tokens.begin(); in SetAccountTokens() 81 token_iter != account_tokens.end(); in SetAccountTokens()
|
D | gcm_driver_desktop.cc | 80 const std::map<std::string, std::string>& account_tokens); 311 const std::map<std::string, std::string>& account_tokens) { in SetAccountsForCheckin() argument 315 gcm_client_->SetAccountsForCheckin(account_tokens); in SetAccountsForCheckin() 625 const std::map<std::string, std::string>& account_tokens) { in SetAccountsForCheckin() argument 632 account_tokens)); in SetAccountsForCheckin()
|
D | gcm_client_impl.h | 107 const std::map<std::string, std::string>& account_tokens) OVERRIDE; 155 std::map<std::string, std::string> account_tokens; member
|
D | gcm_account_mapper.h | 40 const std::vector<GCMClient::AccountTokenInfo> account_tokens);
|
D | fake_gcm_client.h | 60 const std::map<std::string, std::string>& account_tokens) OVERRIDE;
|
D | gcm_client.h | 289 const std::map<std::string, std::string>& account_tokens) = 0;
|
D | gcm_driver_desktop.h | 91 const std::map<std::string, std::string>& account_tokens);
|
D | fake_gcm_client.cc | 123 const std::map<std::string, std::string>& account_tokens) { in SetAccountsForCheckin() argument
|
/external/chromium_org/google_apis/gcm/engine/ |
D | checkin_request.cc | 84 const std::map<std::string, std::string>& account_tokens, in RequestInfo() argument 89 account_tokens(account_tokens), in RequestInfo() 136 request_info_.account_tokens.begin(); in Start() 137 iter != request_info_.account_tokens.end(); in Start()
|
D | checkin_request.h | 44 const std::map<std::string, std::string>& account_tokens, 54 std::map<std::string, std::string> account_tokens; member
|
D | checkin_request_unittest.cc | 127 std::map<std::string, std::string> account_tokens; in CreateRequest() local 128 account_tokens[kEmailAddress] = kTokenValue; in CreateRequest() 132 account_tokens, in CreateRequest()
|
/external/chromium_org/chrome/browser/services/gcm/ |
D | gcm_account_tracker.cc | 155 std::map<std::string, std::string> account_tokens; in CompleteCollectingTokens() local 169 account_tokens[iter->second.email] = iter->second.access_token; in CompleteCollectingTokens() 190 if (!account_tokens.empty() || account_removed) { in CompleteCollectingTokens() 191 DVLOG(1) << "Calling callback: " << account_tokens.size(); in CompleteCollectingTokens() 192 callback_.Run(account_tokens); in CompleteCollectingTokens()
|
D | gcm_profile_service.cc | 58 const std::map<std::string, std::string>& account_tokens); 134 const std::map<std::string, std::string>& account_tokens) { in AccountsUpdated() argument 135 driver_->SetAccountsForCheckin(account_tokens); in AccountsUpdated()
|
D | gcm_account_tracker.h | 55 account_tokens)> UpdateAccountsCallback;
|