Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: chrome/browser/profiles/profile_info_cache.cc

Issue 478543002: [Profiles] Add a new kind of "default name" for the new profiles UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_info_cache.cc
diff --git a/chrome/browser/profiles/profile_info_cache.cc b/chrome/browser/profiles/profile_info_cache.cc
index cfaba750321956e90de9f87d83f70f26007be741..7713c28e05906f88f08e14b643389e703c5fb023 100644
--- a/chrome/browser/profiles/profile_info_cache.cc
+++ b/chrome/browser/profiles/profile_info_cache.cc
@@ -139,7 +139,8 @@ void DeleteBitmap(const base::FilePath& image_path) {
bool IsDefaultName(const base::string16& name) {
// Check if it's a "First user" old-style name.
- if (name == l10n_util::GetStringUTF16(IDS_DEFAULT_PROFILE_NAME))
+ if (name == l10n_util::GetStringUTF16(IDS_DEFAULT_PROFILE_NAME) ||
+ name == l10n_util::GetStringUTF16(IDS_LEGACY_DEFAULT_PROFILE_NAME))
return true;
// Check if it's one of the old-style profile names.
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698