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

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

Issue 2873193002: Make update over cellular an option for user (Closed)
Patch Set: Put code in CHROME_OS wrapper to fix trybot error 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..5dc9d2331b3fbb9add5981952b939a139f5bdd98 100644
--- a/chrome/browser/ui/webui/settings/about_handler.h
+++ b/chrome/browser/ui/webui/settings/about_handler.h
@@ -109,6 +109,14 @@ 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);
+
+ // Checks for and applies update over cellular connection to the given target.
+ void RequestUpdateOverCellular(const std::string& target_version,
+ int64_t target_size);
+
#endif
// Checks for and applies update.
@@ -117,6 +125,8 @@ class AboutHandler : public settings::SettingsPageUIHandler,
// Callback method which forwards status updates to the page.
void SetUpdateStatus(VersionUpdater::Status status,
int progress,
+ const std::string& version,
+ int64_t size,
const base::string16& fail_message);
#if defined(OS_MACOSX)
« no previous file with comments | « chrome/browser/ui/webui/help/version_updater_win.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