|
|
extensions: Abstract out install delay strategy
- Add a InstallGate interface that ExtensionService invokes
to find out delayed install actions for a pending install;
- Move update-when-idle logic into a UpdateInstallGate class;
- Implement InstallGate in ExtensionGarbageCollector and
SharedModuleService wit code moved from ExtensionService;
- Register those install gates with ExtensionService in
ExtensionSystemImpl;
- TestExtensionSysmte is only interested in SharedModuleService
related install delay strategy so only register that;
BUG= 585143
Committed: https://crrev.com/f6a4c6a676ecf8f990e4cbe3a47f6ad955367711
Cr-Commit-Position: refs/heads/master@{#388245}
Total comments: 1
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+593 lines, -148 lines) |
Patch |
 |
M |
chrome/browser/extensions/extension_garbage_collector.h
|
View
|
1
2
3
4
|
5 chunks |
+20 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_garbage_collector.cc
|
View
|
1
2
3
4
|
2 chunks |
+20 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_gcm_app_handler_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_service.h
|
View
|
1
2
3
4
|
8 chunks |
+22 lines, -29 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_service.cc
|
View
|
1
2
3
4
|
5 chunks |
+78 lines, -104 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_service_test_base.cc
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_system_impl.h
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_system_impl.cc
|
View
|
1
2
3
4
|
4 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/install_gate.h
|
View
|
1
2
3
4
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/shared_module_service.h
|
View
|
1
2
3
4
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/shared_module_service.cc
|
View
|
1
2
3
4
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/update_install_gate.h
|
View
|
1
2
3
4
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/update_install_gate.cc
|
View
|
1
2
3
4
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/update_install_gate_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+279 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_extensions.gypi
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
Total messages: 13 (6 generated)
|