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

Unified Diff: chrome/browser/ui/webui/help/version_updater_chromeos.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/help/version_updater_chromeos.h
diff --git a/chrome/browser/ui/webui/help/version_updater_chromeos.h b/chrome/browser/ui/webui/help/version_updater_chromeos.h
index b9f50dda92d8925a6eedf39a2e1be3611f5c845e..b6de0cb2f634fbf496a366d5f92d8346cc8a7b29 100644
--- a/chrome/browser/ui/webui/help/version_updater_chromeos.h
+++ b/chrome/browser/ui/webui/help/version_updater_chromeos.h
@@ -26,6 +26,9 @@ class VersionUpdaterCros : public VersionUpdater,
bool is_powerwash_allowed) override;
void GetChannel(bool get_current_channel,
const ChannelCallback& callback) override;
+ void SetUpdateOverCellularTarget(const StatusCallback& callback,
+ const std::string& target_version,
+ int64_t target_size) override;
// Gets the last update status, without triggering a new check or download.
void GetUpdateStatus(const StatusCallback& callback);
@@ -47,6 +50,9 @@ class VersionUpdaterCros : public VersionUpdater,
// Callback from UpdateEngineClient::RequestUpdateCheck().
void OnUpdateCheck(chromeos::UpdateEngineClient::UpdateCheckResult result);
+ // Callback from UpdateEngineClient::SetUpdateOverCellularTarget().
+ void OnSetUpdateOverCellularTarget(bool success);
+
// Callback from UpdateEngineClient::GetChannel().
void OnGetChannel(const ChannelCallback& cb,
const std::string& current_channel);
« no previous file with comments | « chrome/browser/ui/webui/help/version_updater_basic.cc ('k') | chrome/browser/ui/webui/help/version_updater_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698