Chromium Code Reviews| 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. |
|
xiyuan
2017/05/11 20:37:26
nit: insert an empty line before
weidongg
2017/05/11 23:50:45
Done.
|
| + // 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) |