Chromium Code Reviews| 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 = |