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

Unified Diff: chromeos/dbus/update_engine_client.h

Issue 21015010: Remove all traces of deprecated Get/SetReleaseTrack calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 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 | « chromeos/dbus/fake_update_engine_client.cc ('k') | chromeos/dbus/update_engine_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/update_engine_client.h
diff --git a/chromeos/dbus/update_engine_client.h b/chromeos/dbus/update_engine_client.h
index 26e4bfa8ab79e2c951636ddee6bea10706a2ba6b..00120cbbadc6c9e3235b33de9d7851c69fccefb4 100644
--- a/chromeos/dbus/update_engine_client.h
+++ b/chromeos/dbus/update_engine_client.h
@@ -87,27 +87,11 @@ class CHROMEOS_EXPORT UpdateEngineClient {
// Reboots if update has been performed.
virtual void RebootAfterUpdate() = 0;
- // DEPRECATED: Use SetChannel instead.
- // Requests to set the release track (channel). |track| should look like
- // "beta-channel" or "dev-channel".
- virtual void SetReleaseTrack(const std::string& track) = 0;
-
- // Called once GetReleaseTrack() is complete. Takes one parameter;
- // - string: the release track name like "beta-channel".
- typedef base::Callback<void(const std::string& channel_name)>
- GetReleaseTrackCallback;
-
// Called once GetChannel() is complete. Takes one parameter;
// - string: the channel name like "beta-channel".
typedef base::Callback<void(const std::string& channel_name)>
GetChannelCallback;
- // DEPRECATED: Use GetChannel() instead.
- // Requests to get the release track and calls |callback| with the
- // release track (channel). On error, calls |callback| with an empty
- // string.
- virtual void GetReleaseTrack(const GetReleaseTrackCallback& callback) = 0;
-
// Returns the last status the object received from the update engine.
//
// Ideally, the D-Bus client should be state-less, but there are clients
« no previous file with comments | « chromeos/dbus/fake_update_engine_client.cc ('k') | chromeos/dbus/update_engine_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698