summaryrefslogtreecommitdiff
path: root/chromeos-dbus-bindings/proxy_generator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos-dbus-bindings/proxy_generator.cc')
-rw-r--r--chromeos-dbus-bindings/proxy_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromeos-dbus-bindings/proxy_generator.cc b/chromeos-dbus-bindings/proxy_generator.cc
index 3a9cce1..55c9eee 100644
--- a/chromeos-dbus-bindings/proxy_generator.cc
+++ b/chromeos-dbus-bindings/proxy_generator.cc
@@ -353,7 +353,7 @@ void ProxyGenerator::GenerateInterfaceMock(const ServiceConfig& config,
"MOCK_CONST_METHOD0(GetObjectPath, const dbus::ObjectPath&());");
if (!config.object_manager.name.empty() && !interface.properties.empty()) {
text->AddLineAndPushOffsetTo(
- "MOCK_CONST_METHOD1(SetPropertyChangedCallback,", 1, '(');
+ "MOCK_METHOD1(SetPropertyChangedCallback,", 1, '(');
text->AddLine(StringPrintf(
"void(const base::Callback<void(%sInterface*, const std::string&)>&));",
proxy_name.c_str()));