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

Unified Diff: chrome/browser/ui/webui/settings/about_handler.h

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/ui/webui/settings/about_handler.h
diff --git a/chrome/browser/ui/webui/settings/about_handler.h b/chrome/browser/ui/webui/settings/about_handler.h
index 3de70b602ec35d17ddaccd6b69153c64135e8fa3..a7cc00b8336836166f9ba77ffe0a62a3070af36c 100644
--- a/chrome/browser/ui/webui/settings/about_handler.h
+++ b/chrome/browser/ui/webui/settings/about_handler.h
@@ -108,15 +108,24 @@ class AboutHandler : public settings::SettingsPageUIHandler,
// Checks for and applies update, triggered by JS.
void HandleRequestUpdate(const base::ListValue* args);
+ // Checks for and applies update over cellular connection, triggered by JS.
+ // Target version and size should be included in the list of arguments.
+ void HandleRequestUpdateOverCellular(const base::ListValue* args);
#endif
// Checks for and applies update.
void RequestUpdate();
+ // Checks for and applies update over cellular connection to the given target.
+ void RequestUpdateOverCellular(std::string& target_version,
+ int64_t target_size);
+
// Callback method which forwards status updates to the page.
void SetUpdateStatus(VersionUpdater::Status status,
int progress,
+ const std::string& version,
+ const int64_t size,
const base::string16& fail_message);
#if defined(OS_MACOSX)
« no previous file with comments | « chrome/browser/ui/webui/help/version_updater_chromeos.cc ('k') | chrome/browser/ui/webui/settings/about_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698