|
Fix app_shell shutdown crash due to BrowserContextKeyedServices
* Create ExtensionSystem and register its dependencies from the ExtensionsBrowserClient interface.
* Create and tear down BrowserContextKeyedServices using the dependency manager like you're supposed to do it.
* Don't register AppLoaderServiceFactory - we don't use it anymore.
* Remove the "custom instance" code to ExtensionSystem::Get() - it was kind of hacky.
BUG=none
TEST=Launch app_shell then close the window. No crash.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244013
Total comments: 2
Total comments: 4
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+162 lines, -91 lines) |
Patch |
 |
M |
apps/shell/shell_browser_context.cc
|
View
|
|
1 chunk |
+4 lines, -15 lines |
0 comments
|
Download
|
 |
M |
apps/shell/shell_browser_main_parts.h
|
View
|
1
2
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
apps/shell/shell_browser_main_parts.cc
|
View
|
1
2
|
5 chunks |
+23 lines, -18 lines |
0 comments
|
Download
|
 |
M |
apps/shell/shell_extensions_browser_client.h
|
View
|
1
2
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
apps/shell/shell_extensions_browser_client.cc
|
View
|
1
2
|
3 chunks |
+19 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/drive_integration_service.h
|
View
|
1
2
3
4
5
|
3 chunks |
+14 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/drive_integration_service.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+14 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_manager/file_manager_browsertest.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc
|
View
|
1
2
3
|
2 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/chrome_extensions_browser_client.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/chrome_extensions_browser_client.cc
|
View
|
1
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_system_factory.h
|
View
|
1
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_system_factory.cc
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -14 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/extensions_browser_client.h
|
View
|
1
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
Total messages: 17 (0 generated)
|