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

Unified Diff: dbus/mock_bus.h

Issue 12088068: DBus: Bus::AddMatch and RemoveMatch support repeated rules. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: RemoveMatch returns a bool. Created 7 years, 11 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 | « dbus/bus_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/mock_bus.h
diff --git a/dbus/mock_bus.h b/dbus/mock_bus.h
index 68946824255aa0934eb7b138a867529ed01beafb..33a62e0577d8dce187ff6502d8f1a13939733655 100644
--- a/dbus/mock_bus.h
+++ b/dbus/mock_bus.h
@@ -49,7 +49,7 @@ class MockBus : public Bus {
void* user_data));
MOCK_METHOD2(AddMatch, void(const std::string& match_rule,
DBusError* error));
- MOCK_METHOD2(RemoveMatch, void(const std::string& match_rule,
+ MOCK_METHOD2(RemoveMatch, bool(const std::string& match_rule,
DBusError* error));
MOCK_METHOD4(TryRegisterObjectPath, bool(const ObjectPath& object_path,
const DBusObjectPathVTable* vtable,
« no previous file with comments | « dbus/bus_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698