|
Add chrome.webstore API methods to allow sites to see progress of installation
Add two chrome.webstore API methods for progress updates:
chrome.webstore.setInstallStageListener(function(string stage))
- stage is either "downloading" or "installing"
chrome.webstore.setDownloadProgressListener(function(int percent_downloaded))
Update InstallObserver to have methods for install stages.
Make WebstoreInstaller provide more frequent download updates (current consumers
like WebstoreResult imply this was intended from the start).
BUG= 308634
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259483
Total comments: 3
Total comments: 33
Total comments: 32
Total comments: 3
Total comments: 6
Total comments: 2
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+730 lines, -120 lines) |
Patch |
 |
A |
chrome/browser/extensions/api/webstore/webstore_api.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+104 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/api/webstore/webstore_api.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+142 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/browser_context_keyed_service_factories.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/crx_installer.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/install_observer.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+20 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/install_observer.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/install_tracker.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/install_tracker.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/tab_helper.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/tab_helper.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+23 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/webstore_inline_installer_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/webstore_installer.h
|
View
|
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/webstore_installer.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
6 chunks |
+48 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_extensions.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_common.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/webstore.json
|
View
|
1
2
3
|
2 chunks |
+35 lines, -1 line |
0 comments
|
Download
|
 |
A |
chrome/common/extensions/api/webstore/webstore_api_constants.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/common/extensions/api/webstore/webstore_api_constants.cc
|
View
|
1
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/chrome_extension_messages.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/webstore_bindings.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/webstore_bindings.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
6 chunks |
+59 lines, -38 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/resources/extensions/webstore_custom_bindings.js
|
View
|
1
2
3
4
|
2 chunks |
+46 lines, -11 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/data/extensions/api_test/webstore_inline_install/both_listeners.html
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/data/extensions/api_test/webstore_inline_install/download_progress_listener.html
|
View
|
1
2
|
3 chunks |
+14 lines, -5 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/webstore_inline_install/install_stage_listener.html
|
View
|
1
2
|
1 chunk |
+66 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/webstore_inline_install/multiple_install_calls.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/common/extension_messages.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+0 lines, -14 lines |
0 comments
|
Download
|
Total messages: 30 (0 generated)
|