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

Unified Diff: chromeos/dbus/services/service_provider_test_helper.h

Issue 2824093003: chromeos: Custom services in ServiceProviderTestHelper. (Closed)
Patch Set: forward-declare dbus::ObjectPath (not that it matters) Created 3 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
Index: chromeos/dbus/services/service_provider_test_helper.h
diff --git a/chromeos/dbus/services/service_provider_test_helper.h b/chromeos/dbus/services/service_provider_test_helper.h
index 69928f52638213cd066b6647ea55009052ced1b4..e6429cdc1b9d283ccb88c0a12b29dadb4e2bebd2 100644
--- a/chromeos/dbus/services/service_provider_test_helper.h
+++ b/chromeos/dbus/services/service_provider_test_helper.h
@@ -18,6 +18,7 @@
namespace dbus {
class MockBus;
+class ObjectPath;
} // namespace dbus
@@ -40,7 +41,10 @@ class ServiceProviderTestHelper {
~ServiceProviderTestHelper();
// Sets up helper. Should be called before |CallMethod()|.
- void SetUp(const std::string& exported_method_name,
+ void SetUp(const std::string& service_name,
+ const dbus::ObjectPath& service_path,
+ const std::string& interface_name,
+ const std::string& exported_method_name,
CrosDBusService::ServiceProviderInterface* service_provider);
// Setups return signal callback. It's optional and don't need to be called

Powered by Google App Engine
This is Rietveld 408576698