| // Copyright 2020 The Chromium OS Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef ARC_DATA_SNAPSHOTD_DAEMON_H_ |
| #define ARC_DATA_SNAPSHOTD_DAEMON_H_ |
| #include <brillo/daemons/dbus_daemon.h> |
| #include "arc/data-snapshotd/dbus_adaptor.h" |
| namespace data_snapshotd { |
| // Daemon class for the arc-data-snapshotd daemon. |
| class Daemon final : public brillo::DBusServiceDaemon { |
| Daemon(const Daemon&) = delete; |
| Daemon& operator=(const Daemon&) = delete; |
| // brillo::DBusServiceDaemon overrides: |
| void RegisterDBusObjectsAsync( |
| brillo::dbus_utils::AsyncEventSequencer* sequencer) override; |
| DBusAdaptor dbus_adaptor_; |
| } // namespace data_snapshotd |
| #endif // ARC_DATA_SNAPSHOTD_DAEMON_H_ |