chromium/dbus/test_service.cc

// 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.

#include "dbus/test_service.h"

#include <stdint.h>
#include <string>
#include <utility>
#include <vector>

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/logging.h"
#include "base/message_loop/message_pump_type.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/test_timeouts.h"
#include "base/threading/platform_thread.h"
#include "base/time/time.h"
#include "base/uuid.h"
#include "dbus/bus.h"
#include "dbus/exported_object.h"
#include "dbus/message.h"
#include "dbus/object_manager.h"
#include "dbus/object_path.h"
#include "dbus/property.h"

namespace dbus {

// Echo, SlowEcho, AsyncEcho, BrokenMethod, GetAll, Get, Set, PerformAction,
// GetManagedObjects
const int TestService::kNumMethodsToExport =;

TestService::Options::Options()
    :{}

TestService::Options::~Options() = default;

TestService::TestService(const Options& options)
    :{}

TestService::~TestService() {}

bool TestService::StartService() {}

void TestService::WaitUntilServiceIsStarted() {}

void TestService::ShutdownAndBlock() {}

bool TestService::HasDBusThread() {}

void TestService::ShutdownAndBlockInternal() {}

void TestService::SendTestSignal(const std::string& message) {}

void TestService::SendTestSignalFromRoot(const std::string& message) {}

void TestService::SendTestSignalInternal(const std::string& message) {}

void TestService::SendTestSignalFromRootInternal(const std::string& message) {}

void TestService::RequestOwnership(base::OnceCallback<void(bool)> callback) {}

void TestService::RequestOwnershipInternal(
    base::OnceCallback<void(bool)> callback) {}

void TestService::OnOwnership(base::OnceCallback<void(bool)> callback,
                              const std::string& service_name,
                              bool success) {}

void TestService::ReleaseOwnership(base::OnceClosure callback) {}

void TestService::ReleaseOwnershipInternal(base::OnceClosure callback) {}

void TestService::SetSendImmediatePropertiesChanged() {}

void TestService::OnExported(const std::string& interface_name,
                             const std::string& method_name,
                             bool success) {}

void TestService::Run(base::RunLoop* run_loop) {}

void TestService::Echo(MethodCall* method_call,
                       ExportedObject::ResponseSender response_sender) {}

void TestService::SlowEcho(MethodCall* method_call,
                           ExportedObject::ResponseSender response_sender) {}

void TestService::AsyncEcho(MethodCall* method_call,
                            ExportedObject::ResponseSender response_sender) {}

void TestService::BrokenMethod(MethodCall* method_call,
                               ExportedObject::ResponseSender response_sender) {}


void TestService::GetAllProperties(
    MethodCall* method_call,
    ExportedObject::ResponseSender response_sender) {}

void TestService::GetProperty(MethodCall* method_call,
                              ExportedObject::ResponseSender response_sender) {}

void TestService::SetProperty(MethodCall* method_call,
                              ExportedObject::ResponseSender response_sender) {}

void TestService::PerformAction(
      MethodCall* method_call,
      ExportedObject::ResponseSender response_sender) {}

void TestService::PerformActionResponse(
    MethodCall* method_call,
    ExportedObject::ResponseSender response_sender) {}

void TestService::OwnershipReleased(
    MethodCall* method_call,
    ExportedObject::ResponseSender response_sender) {}


void TestService::OwnershipRegained(
    MethodCall* method_call,
    ExportedObject::ResponseSender response_sender,
    bool success) {}


void TestService::GetManagedObjects(
    MethodCall* method_call,
    ExportedObject::ResponseSender response_sender) {}

void TestService::AddPropertiesToWriter(MessageWriter* writer) {}

void TestService::AddObject(const ObjectPath& object_path) {}

void TestService::AddObjectInternal(const ObjectPath& object_path) {}

void TestService::RemoveObject(const ObjectPath& object_path) {}

void TestService::RemoveObjectInternal(const ObjectPath& object_path) {}

void TestService::SendPropertyChangedSignal(const std::string& name) {}

void TestService::SendPropertyChangedSignalInternal(const std::string& name) {}

void TestService::SendPropertyInvalidatedSignal() {}

void TestService::SendPropertyInvalidatedSignalInternal() {}

}  // namespace dbus