| Index: chrome/browser/profiles/profiles_state.h
|
| diff --git a/chrome/browser/profiles/profiles_state.h b/chrome/browser/profiles/profiles_state.h
|
| index 649e1c73a8f139f1ca3f5c0aac0d1cd6b3031578..39aae3dafd1cf9fe98f3d939c46391df649b5e08 100644
|
| --- a/chrome/browser/profiles/profiles_state.h
|
| +++ b/chrome/browser/profiles/profiles_state.h
|
| @@ -41,6 +41,9 @@ base::string16 GetAvatarButtonTextForProfile(Profile* profile);
|
|
|
| // Update the name of |profile| to |new_profile_name|. This updates the
|
| // profile preferences, which triggers an update in the ProfileInfoCache.
|
| +// This method should be called when the user is explicitely changing
|
| +// the profile name, as it will always set |prefs::kProfileUsingDefaultName|
|
| +// to false.
|
| void UpdateProfileName(Profile* profile,
|
| const base::string16& new_profile_name);
|
|
|
|
|