// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef DBUS_TEST_SERVICE_H_ #define DBUS_TEST_SERVICE_H_ #include "base/compiler_specific.h" #include "base/memory/raw_ptr.h" #include "base/memory/ref_counted.h" #include "base/synchronization/waitable_event.h" #include "base/threading/thread.h" #include "dbus/bus.h" #include "dbus/exported_object.h" namespace base { class SequencedTaskRunner; } namespace dbus { class MethodCall; class MessageWriter; class Response; // The test service is used for end-to-end tests. The service runs in a // separate thread, so it does not interfere the test code that runs in // the main thread. // // The test service exports an object with methods such as Echo() and // SlowEcho(). The object has ability to send "Test" signal. class TestService : public base::Thread { … }; } // namespace dbus #endif // DBUS_TEST_SERVICE_H_