Home
last modified time | relevance | path

Searched refs:account_tokens (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/components/gcm_driver/
Dgcm_account_mapper_unittest.cc301 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 …]
Dgcm_client_impl_unittest.cc561 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 …]
Dgcm_client_impl.cc228 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()
Dgcm_account_mapper.cc59 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()
Dgcm_driver_desktop.cc80 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()
Dgcm_client_impl.h107 const std::map<std::string, std::string>& account_tokens) OVERRIDE;
155 std::map<std::string, std::string> account_tokens; member
Dgcm_account_mapper.h40 const std::vector<GCMClient::AccountTokenInfo> account_tokens);
Dfake_gcm_client.h60 const std::map<std::string, std::string>& account_tokens) OVERRIDE;
Dgcm_client.h289 const std::map<std::string, std::string>& account_tokens) = 0;
Dgcm_driver_desktop.h91 const std::map<std::string, std::string>& account_tokens);
Dfake_gcm_client.cc123 const std::map<std::string, std::string>& account_tokens) { in SetAccountsForCheckin() argument
/external/chromium_org/google_apis/gcm/engine/
Dcheckin_request.cc84 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()
Dcheckin_request.h44 const std::map<std::string, std::string>& account_tokens,
54 std::map<std::string, std::string> account_tokens; member
Dcheckin_request_unittest.cc127 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/
Dgcm_account_tracker.cc155 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()
Dgcm_profile_service.cc58 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()
Dgcm_account_tracker.h55 account_tokens)> UpdateAccountsCallback;