Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4808)

Unified Diff: chrome/test/data/webui/settings/about_page_tests.js

Issue 2325193002: MD Settings/About: Implement update progress percentage (Closed)
Patch Set: also add % to cross-channel cros message Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/settings/about_page/about_page.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/settings/about_page_tests.js
diff --git a/chrome/test/data/webui/settings/about_page_tests.js b/chrome/test/data/webui/settings/about_page_tests.js
index 6a478f278d69e0c96282a331b6d0cd98d11bc666..1c70a7f55e8f17538ac9600c68f9e90c442b0a3e 100644
--- a/chrome/test/data/webui/settings/about_page_tests.js
+++ b/chrome/test/data/webui/settings/about_page_tests.js
@@ -64,8 +64,10 @@ cr.define('settings_about_page', function() {
/** @override */
refreshUpdateStatus: function() {
- cr.webUIListenerCallback(
- 'update-status-changed', {status: this.updateStatus_});
+ cr.webUIListenerCallback('update-status-changed', {
+ progress: 0,
+ status: this.updateStatus_,
+ });
this.methodCalled('refreshUpdateStatus');
},
@@ -138,7 +140,10 @@ cr.define('settings_about_page', function() {
function registerAboutPageTests() {
/** @param {!UpdateStatus} status */
function fireStatusChanged(status) {
- cr.webUIListenerCallback('update-status-changed', {status: status});
+ cr.webUIListenerCallback('update-status-changed', {
+ progress: 0,
+ status: status,
+ });
}
suite('AboutPageTest', function() {
« no previous file with comments | « chrome/browser/resources/settings/about_page/about_page.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698