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

Unified Diff: chromeos/dbus/cashew_client.cc

Issue 10024054: chromeos: Convert D-Bus client classes' callback arguments to const reference (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 8 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/cashew_client.h ('k') | chromeos/dbus/cros_disks_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/cashew_client.cc
diff --git a/chromeos/dbus/cashew_client.cc b/chromeos/dbus/cashew_client.cc
index 93d1f3d90aabd1233a4f00f984049986413adbda..eb801f47732e548d9100c114619fc929a743f624 100644
--- a/chromeos/dbus/cashew_client.cc
+++ b/chromeos/dbus/cashew_client.cc
@@ -41,7 +41,7 @@ class CashewClientImpl : public CashewClient {
// CashewClient override.
virtual void SetDataPlansUpdateHandler(
- DataPlansUpdateHandler handler) OVERRIDE {
+ const DataPlansUpdateHandler& handler) OVERRIDE {
data_plans_update_handler_ = handler;
}
@@ -101,7 +101,7 @@ class CashewClientStubImpl : public CashewClient {
// CashewClient override.
virtual void SetDataPlansUpdateHandler(
- DataPlansUpdateHandler handler) OVERRIDE {}
+ const DataPlansUpdateHandler& handler) OVERRIDE {}
// CashewClient override.
virtual void ResetDataPlansUpdateHandler() OVERRIDE {}
« no previous file with comments | « chromeos/dbus/cashew_client.h ('k') | chromeos/dbus/cros_disks_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698