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

Unified Diff: chrome/browser/resources/settings/about_page/about_page_browser_proxy.js

Issue 2538043006: Settings: About: Fix cros channel info. (Closed)
Patch Set: . Created 4 years 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
Index: chrome/browser/resources/settings/about_page/about_page_browser_proxy.js
diff --git a/chrome/browser/resources/settings/about_page/about_page_browser_proxy.js b/chrome/browser/resources/settings/about_page/about_page_browser_proxy.js
index 22c88f89ce453667c5648a27acce93ab11ed1149..b34e4ad8313b2adabdcf3da6641ed04126431b55 100644
--- a/chrome/browser/resources/settings/about_page/about_page_browser_proxy.js
+++ b/chrome/browser/resources/settings/about_page/about_page_browser_proxy.js
@@ -139,6 +139,9 @@ cr.define('settings', function() {
/** @return {!Promise<!VersionInfo>} */
getVersionInfo: function() {},
+ /** @return {!Promise<boolean>} */
+ getCanChangeChannel: function() {},
+
/** @return {!Promise<?RegulatoryInfo>} */
getRegulatoryInfo: function() {},
</if>
@@ -201,6 +204,11 @@ cr.define('settings', function() {
},
/** @override */
+ getCanChangeChannel: function() {
+ return cr.sendWithPromise('getCanChangeChannel');
+ },
+
+ /** @override */
getRegulatoryInfo: function() {
return cr.sendWithPromise('getRegulatoryInfo');
}

Powered by Google App Engine
This is Rietveld 408576698