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

Unified Diff: chromeos/dbus/mock_cashew_client.h

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/image_burner_client.cc ('k') | chromeos/dbus/mock_cros_disks_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/mock_cashew_client.h
diff --git a/chromeos/dbus/mock_cashew_client.h b/chromeos/dbus/mock_cashew_client.h
index c4167dceaada1e8343b3436ecd7c332147836a95..fcff9a9528eea8b993b4b41dbdb903b5cc8a86e0 100644
--- a/chromeos/dbus/mock_cashew_client.h
+++ b/chromeos/dbus/mock_cashew_client.h
@@ -16,7 +16,8 @@ class MockCashewClient : public CashewClient {
MockCashewClient();
virtual ~MockCashewClient();
- MOCK_METHOD1(SetDataPlansUpdateHandler, void(DataPlansUpdateHandler handler));
+ MOCK_METHOD1(SetDataPlansUpdateHandler,
+ void(const DataPlansUpdateHandler& handler));
MOCK_METHOD0(ResetDataPlansUpdateHandler, void());
MOCK_METHOD0(RequestDataPlansUpdate, void());
};
« no previous file with comments | « chromeos/dbus/image_burner_client.cc ('k') | chromeos/dbus/mock_cros_disks_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698