Home
last modified time | relevance | path

Searched refs:db_tokens (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/net/gaia/
Dtoken_service_unittest.cc243 std::map<std::string, std::string> db_tokens; in TEST_F() local
246 service_.LoadTokensIntoMemory(db_tokens, &memory_tokens); in TEST_F()
247 EXPECT_TRUE(db_tokens.empty()); in TEST_F()
251 db_tokens[GaiaConstants::kSyncService] = "token"; in TEST_F()
252 service_.LoadTokensIntoMemory(db_tokens, &memory_tokens); in TEST_F()
266 std::map<std::string, std::string> db_tokens; in TEST_F() local
269 db_tokens["ignore"] = "token"; in TEST_F()
271 service_.LoadTokensIntoMemory(db_tokens, &memory_tokens); in TEST_F()
273 db_tokens[GaiaConstants::kSyncService] = "pepper"; in TEST_F()
275 service_.LoadTokensIntoMemory(db_tokens, &memory_tokens); in TEST_F()
[all …]
Dtoken_service.cc229 const std::map<std::string, std::string>& db_tokens, in LoadTokensIntoMemory() argument
242 db_tokens.count(kServices[i])) { in LoadTokensIntoMemory()
243 std::string db_token = db_tokens.find(kServices[i])->second; in LoadTokensIntoMemory()