|
Multi-Profiles: Add delete profile command
This change adds a delete profile command. The command does the following:
- closes all browser windows with that profile
- removes the profile from our list of known profiles
- schedules the profile directory to be deleted when the application quits
The command will eventually be exposed through the settings UI. Until that's ready I'm adding it to the avatar menu.
BUG=None
TEST=None
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91777
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+95 lines, -17 lines) |
Patch |
|
M |
chrome/app/generated_resources.grd
|
View
|
1
2
3
4
5
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_manager.h
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_manager.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+32 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser_list.h
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser_list.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/browser/avatar_button.mm
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/gtk/browser_titlebar.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/gtk/profile_menu_button.h
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/gtk/profile_menu_button.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/profile_menu_model.h
|
View
|
1
2
3
4
5
|
3 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/profile_menu_model.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/frame/glass_browser_frame_view.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|