diff options
author | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-11 02:25:35 +0000 |
---|---|---|
committer | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-11 02:25:35 +0000 |
commit | 4a404e5356b27578de71b9b41de686768d2ecd42 (patch) | |
tree | b14264adfaaaf505677a2cf1ec7f5dafe636bae5 /chromeos/dbus/update_engine_client.h | |
parent | 0834e1b153c28dec0ae9e90080ad7a106f1c8c84 (diff) | |
download | chromium_src-4a404e5356b27578de71b9b41de686768d2ecd42.zip chromium_src-4a404e5356b27578de71b9b41de686768d2ecd42.tar.gz chromium_src-4a404e5356b27578de71b9b41de686768d2ecd42.tar.bz2 |
chromeos: Convert D-Bus client classes' callback arguments to const reference
BUG=chromium-os:28578
TEST=build success
Review URL: https://chromiumcodereview.appspot.com/10024054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131697 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/update_engine_client.h')
-rw-r--r-- | chromeos/dbus/update_engine_client.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromeos/dbus/update_engine_client.h b/chromeos/dbus/update_engine_client.h index 7d1692d..914094e 100644 --- a/chromeos/dbus/update_engine_client.h +++ b/chromeos/dbus/update_engine_client.h @@ -82,7 +82,7 @@ class CHROMEOS_EXPORT UpdateEngineClient { typedef base::Callback<void(UpdateCheckResult)> UpdateCheckCallback; // Requests an update check and calls |callback| when completed. - virtual void RequestUpdateCheck(UpdateCheckCallback callback) = 0; + virtual void RequestUpdateCheck(const UpdateCheckCallback& callback) = 0; // Reboots if update has been performed. virtual void RebootAfterUpdate() = 0; @@ -98,7 +98,7 @@ class CHROMEOS_EXPORT UpdateEngineClient { // 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(GetReleaseTrackCallback callback) = 0; + virtual void GetReleaseTrack(const GetReleaseTrackCallback& callback) = 0; // Returns the last status the object received from the update engine. // |