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

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

Issue 9253016: Add a startup check to create profile shortcuts for legacy Chrome profiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 11 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 117854)
+++ chrome/browser/profiles/profile_shortcut_manager_win.cc (working copy)
@@ -213,7 +213,7 @@
ProfileShortcutManagerWin::~ProfileShortcutManagerWin() {
}
-void ProfileShortcutManagerWin::OnProfileAdded(
+void ProfileShortcutManagerWin::AddProfileShortcut(
sail 2012/01/18 19:32:51 do you need to check kProfileShortcutCreated here?
SteveT 2012/01/18 19:46:01 This is a good question. I somewhat prefer keeping
sail 2012/01/18 19:53:35 I'm a bit confused. You added a new 'kProfileShort
SteveT 2012/01/18 20:17:40 Oh my gosh, I totally forgot to upload profile_man
const FilePath& profile_path) {
ProfileInfoCache& cache =
g_browser_process->profile_manager()->GetProfileInfoCache();
@@ -286,6 +286,10 @@
}
}
+void ProfileShortcutManagerWin::OnProfileAdded(
sail 2012/01/18 19:32:51 can this be removed?
SteveT 2012/01/18 19:46:01 Unfortunately this comes from ProfileInfoCacheObse
sail 2012/01/18 19:53:35 Area any other observers using this? If not then c
SteveT 2012/01/18 20:17:40 Yes, BackgroundModeManager is also a ProfileInfoCa
+ const FilePath& profile_path) {
+}
+
void ProfileShortcutManagerWin::OnProfileWillBeRemoved(
const FilePath& profile_path) {
ProfileInfoCache& cache =

Powered by Google App Engine
This is Rietveld 408576698