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

Unified Diff: chrome/browser/chromeos/login/screens/update_screen.cc

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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/system_private/system_private_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/screens/update_screen.cc
diff --git a/chrome/browser/chromeos/login/screens/update_screen.cc b/chrome/browser/chromeos/login/screens/update_screen.cc
index 96a797ed24a134e20f9afe24d7822205b133bc7b..e1be946158c80fe2f9ce21737c7a9c15c4ff68b9 100644
--- a/chrome/browser/chromeos/login/screens/update_screen.cc
+++ b/chrome/browser/chromeos/login/screens/update_screen.cc
@@ -197,6 +197,7 @@ void UpdateScreen::ExitUpdate(UpdateScreen::ExitReason reason) {
case UpdateEngineClient::UPDATE_STATUS_DOWNLOADING:
case UpdateEngineClient::UPDATE_STATUS_FINALIZING:
case UpdateEngineClient::UPDATE_STATUS_VERIFYING:
+ case UpdateEngineClient::UPDATE_STATUS_NEED_PERMISSION_TO_UPDATE:
DCHECK(!HasCriticalUpdate());
// Noncritical update, just exit screen as if there is no update.
// no break
@@ -330,6 +331,7 @@ void UpdateScreen::UpdateStatusChanged(
// else no break
case UpdateEngineClient::UPDATE_STATUS_ERROR:
case UpdateEngineClient::UPDATE_STATUS_REPORTING_ERROR_EVENT:
+ case UpdateEngineClient::UPDATE_STATUS_NEED_PERMISSION_TO_UPDATE:
ExitUpdate(REASON_UPDATE_ENDED);
break;
default:
« no previous file with comments | « no previous file | chrome/browser/extensions/api/system_private/system_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698