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

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

Issue 2795603002: Add an update warning for downloading over mobile data (Closed)
Patch Set: Ignore this as I uploaded a new CL Created 3 years, 7 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
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 2b592acb5631f84a196c887c13c8f205cfcb8abe..6e7da7164a9ea341624fbf38fbf922d7a3388d47 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
@@ -58,6 +58,7 @@ var UpdateStatus = {
FAILED: 'failed',
DISABLED: 'disabled',
DISABLED_BY_ADMIN: 'disabled_by_admin',
+ NEED_PERMISSION_TO_UPDATE: 'need_permission_to_update',
};
// <if expr="_google_chrome and is_macosx">
@@ -213,6 +214,10 @@ cr.define('settings', function() {
chrome.send('requestUpdate');
},
+ requestUpdateOverCellular: function(target_version, target_size) {
+ chrome.send('requestUpdateOverCellular', [target_version, target_size]);
+ },
+
/** @override */
setChannel: function(channel, isPowerwashAllowed) {
chrome.send('setChannel', [channel, isPowerwashAllowed]);

Powered by Google App Engine
This is Rietveld 408576698