angler-fishThe Vulnerability History Project

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

Review URL: https://codereview.chromium.org/175263003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259483 0039d316-1c4b-4281-b951-d872f2087c98
    
commit c80fe5faf691860c344bcc98aa784a6eeefae08d
-142
-104
-2
-5
+15
+11 -20
-10
-2
+5 -23
+1 -2
-29
+13 -48
-8
-2
-2
-6
+1 -35
-29
-34
-29
+38 -59
-4
+11 -46
-44
-51
-66
+1 -2
+14
expand_less