Searched refs:new_profile_name (Results 1 – 8 of 8) sorted by relevance
82 const base::string16& new_profile_name) { in UpdateProfileName() argument88 if ((new_profile_name == in UpdateProfileName()90 (new_profile_name == cache.GetGAIANameOfProfileAtIndex(profile_index))) { in UpdateProfileName()99 pref_service->SetString(prefs::kProfileName, UTF16ToUTF8(new_profile_name)); in UpdateProfileName()
39 const base::string16& new_profile_name);
64 base::string16 new_profile_name = GetCache()->GetNameOfProfileAtIndex( in OnProfileNameChanged() local67 EXPECT_TRUE(profile_names_.find(new_profile_name) == profile_names_.end()); in OnProfileNameChanged()69 profile_names_.insert(new_profile_name); in OnProfileNameChanged()
237 const base::string16& new_profile_name) { in RenameProfile() argument242 new_profile_name); in RenameProfile()244 new_profile_name); in RenameProfile()
313 base::string16 new_profile_name; in SetProfileIconAndName() local314 if (!args->GetString(2, &new_profile_name)) in SetProfileIconAndName()317 profiles::UpdateProfileName(profile, new_profile_name); in SetProfileIconAndName()
156 const base::string16& new_profile_name) { in SetName() argument157 name_ = new_profile_name; in SetName()472 base::string16 new_profile_name = cache.GetNameOfProfileAtIndex( in OnProfileNameChanged() local480 it->second->SetName(new_profile_name); in OnProfileNameChanged()
142 void SetName(const base::string16& new_profile_name);
592 base::string16 new_profile_name = name_textfield->text(); in HandleKeyEvent() local593 if (new_profile_name.empty()) in HandleKeyEvent()605 profiles::UpdateProfileName(profile, new_profile_name); in HandleKeyEvent()