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

Unified Diff: dbus/mock_bus.h

Issue 9373039: Allow dbus clients to silence logging when a service is unavailable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use pair, factor out error logging logic Created 8 years, 10 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
Index: dbus/mock_bus.h
diff --git a/dbus/mock_bus.h b/dbus/mock_bus.h
index 7b949cbe5df54f0c6e9f5da18ae1bbe6c28f454e..4009ec7bd4c60db6f22865591ca2d84f31159d6d 100644
--- a/dbus/mock_bus.h
+++ b/dbus/mock_bus.h
@@ -21,6 +21,10 @@ class MockBus : public Bus {
MOCK_METHOD2(GetObjectProxy, ObjectProxy*(const std::string& service_name,
const std::string& object_path));
+ MOCK_METHOD3(GetObjectProxyWithOptions,
+ ObjectProxy*(const std::string& service_name,
+ const std::string& object_path,
+ int options));
MOCK_METHOD2(GetExportedObject, ExportedObject*(
const std::string& service_name,
const std::string& object_path));
« no previous file with comments | « dbus/bus_unittest.cc ('k') | dbus/mock_object_proxy.cc » ('j') | dbus/object_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698