Lines Matching defs:avatar
97 const std::string& avatar);
188 const char kAvatar2[] = "chromeos-avatar-index:0";
189 const char kAvatar3[] = "chromeos-avatar-index:20";
191 const char kAvatar2[] = "chrome-avatar-index:0";
192 const char kAvatar3[] = "chrome-avatar-index:20";
244 std::string avatar;
245 EXPECT_TRUE(supervised_user->GetString(kChromeAvatarKey, &avatar));
246 EXPECT_EQ(kAvatar2, avatar);
258 std::string avatar;
259 EXPECT_TRUE(supervised_user->GetString(kChromeAvatarKey, &avatar));
260 EXPECT_EQ(kAvatar3, avatar);
272 std::string avatar;
273 EXPECT_TRUE(supervised_user->GetString(kChromeAvatarKey, &avatar));
274 EXPECT_EQ(kAvatar4, avatar);
291 int avatar = 100;
293 &avatar));
294 EXPECT_EQ(SupervisedUserSyncService::kNoAvatar, avatar);
303 EXPECT_EQ(base::StringPrintf("chromeos-avatar-index:%d", avatar_index),
306 EXPECT_EQ(base::StringPrintf("chrome-avatar-index:%d", avatar_index),
309 EXPECT_TRUE(SupervisedUserSyncService::GetAvatarIndex(avatar_str, &avatar));
310 EXPECT_EQ(avatar_index, avatar);
318 EXPECT_EQ(base::StringPrintf("chromeos-avatar-index:%d", avatar_index),
321 EXPECT_EQ(base::StringPrintf("chrome-avatar-index:%d", avatar_index),
324 EXPECT_TRUE(SupervisedUserSyncService::GetAvatarIndex(avatar_str, &avatar));
325 EXPECT_EQ(avatar_index, avatar);
328 &avatar));
331 "chromeos-avatar-indes:2",
332 &avatar));
335 SupervisedUserSyncService::GetAvatarIndex("chromeos-avatar-indexxx:2",
336 &avatar));
339 "chromeos-avatar-index:",
340 &avatar));
343 "chromeos-avatar-index:x",
344 &avatar));
347 "chrome-avatar-index:5",
348 &avatar));
351 "chrome-avatar-indes:2",
352 &avatar));
355 "chrome-avatar-indexxx:2",
356 &avatar));
359 "chrome-avatar-index:",
360 &avatar));
363 "chrome-avatar-index:x",
364 &avatar));
367 "chromeos-avatar-index:5",
368 &avatar));