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

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

Issue 12225011: Change profile shortcut name format to "<username> - Chrome". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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
Index: chrome/browser/profiles/profile_shortcut_manager_win.cc
===================================================================
--- chrome/browser/profiles/profile_shortcut_manager_win.cc (revision 180445)
+++ chrome/browser/profiles/profile_shortcut_manager_win.cc (working copy)
@@ -21,6 +21,7 @@
#include "chrome/browser/profiles/profile_info_cache_observer.h"
#include "chrome/browser/profiles/profile_info_util.h"
#include "chrome/browser/profiles/profile_manager.h"
+#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/installer/util/browser_distribution.h"
#include "chrome/installer/util/product.h"
@@ -509,8 +510,10 @@
if (!profile_name.empty()) {
shortcut_name.append(SanitizeShortcutProfileNameString(profile_name));
shortcut_name.append(L" - ");
+ shortcut_name.append(chrome::kBrowserAppName);
sail 2013/02/05 20:30:43 Weird, I've never seen this constant before. In th
Alexei Svitkine (slow) 2013/02/05 20:56:00 Done.
+ } else {
+ shortcut_name.append(distribution->GetAppShortCutName());
}
- shortcut_name.append(distribution->GetAppShortCutName());
return shortcut_name + installer::kLnkExt;
}

Powered by Google App Engine
This is Rietveld 408576698