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

Unified Diff: chromeos/dbus/mock_session_manager_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/mock_power_manager_client.h ('k') | chromeos/dbus/mock_update_engine_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/mock_session_manager_client.h
diff --git a/chromeos/dbus/mock_session_manager_client.h b/chromeos/dbus/mock_session_manager_client.h
index 6ed73bb4be5203d53cdc06c8df08483d94c06abb..b8632b54bf0c95e1e53c6daba7d26bf4b87f6397 100644
--- a/chromeos/dbus/mock_session_manager_client.h
+++ b/chromeos/dbus/mock_session_manager_client.h
@@ -25,12 +25,12 @@ class MockSessionManagerClient : public SessionManagerClient {
MOCK_METHOD2(RestartJob, void(int, const std::string&));
MOCK_METHOD1(StartSession, void(const std::string&));
MOCK_METHOD0(StopSession, void(void));
- MOCK_METHOD1(RetrieveDevicePolicy, void(RetrievePolicyCallback));
- MOCK_METHOD1(RetrieveUserPolicy, void(RetrievePolicyCallback));
+ MOCK_METHOD1(RetrieveDevicePolicy, void(const RetrievePolicyCallback&));
+ MOCK_METHOD1(RetrieveUserPolicy, void(const RetrievePolicyCallback&));
MOCK_METHOD2(StoreDevicePolicy, void(const std::string&,
- StorePolicyCallback));
+ const StorePolicyCallback&));
MOCK_METHOD2(StoreUserPolicy, void(const std::string&,
- StorePolicyCallback));
+ const StorePolicyCallback&));
};
} // namespace chromeos
« no previous file with comments | « chromeos/dbus/mock_power_manager_client.h ('k') | chromeos/dbus/mock_update_engine_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698