chromium/chrome/test/chromedriver/chrome/stub_devtools_client.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/test/chromedriver/chrome/stub_devtools_client.h"

#include <memory>

#include "base/values.h"
#include "chrome/test/chromedriver/chrome/status.h"

StubDevToolsClient::StubDevToolsClient() :{}

StubDevToolsClient::StubDevToolsClient(const std::string& id) :{}

StubDevToolsClient::~StubDevToolsClient() = default;

const std::string& StubDevToolsClient::GetId() {}

const std::string& StubDevToolsClient::SessionId() const {}

const std::string& StubDevToolsClient::TunnelSessionId() const {}

Status StubDevToolsClient::SetTunnelSessionId(std::string session_id) {}

Status StubDevToolsClient::StartBidiServer(std::string bidi_mapper_script) {}

bool StubDevToolsClient::IsNull() const {}

bool StubDevToolsClient::IsConnected() const {}

bool StubDevToolsClient::WasCrashed() {}

bool StubDevToolsClient::IsDialogOpen() const {}

bool StubDevToolsClient::AutoAcceptsBeforeunload() const {}

void StubDevToolsClient::SetAutoAcceptBeforeunload(bool value) {}

Status StubDevToolsClient::PostBidiCommand(base::Value::Dict command) {}

Status StubDevToolsClient::SendCommand(const std::string& method,
                                       const base::Value::Dict& params) {}

Status StubDevToolsClient::SendCommandFromWebSocket(
    const std::string& method,
    const base::Value::Dict& params,
    const int client_command_id) {}

Status StubDevToolsClient::SendCommandWithTimeout(
    const std::string& method,
    const base::Value::Dict& params,
    const Timeout* timeout) {}

Status StubDevToolsClient::SendAsyncCommand(const std::string& method,
                                            const base::Value::Dict& params) {}

Status StubDevToolsClient::SendCommandAndGetResult(
    const std::string& method,
    const base::Value::Dict& params,
    base::Value::Dict* result) {}

Status StubDevToolsClient::SendCommandAndGetResultWithTimeout(
    const std::string& method,
    const base::Value::Dict& params,
    const Timeout* timeout,
    base::Value::Dict* result) {}

Status StubDevToolsClient::SendCommandAndIgnoreResponse(
    const std::string& method,
    const base::Value::Dict& params) {}

void StubDevToolsClient::AddListener(DevToolsEventListener* listener) {}

void StubDevToolsClient::RemoveListener(DevToolsEventListener* listener) {}

Status StubDevToolsClient::HandleEventsUntil(
    const ConditionalFunc& conditional_func,
    const Timeout& timeout) {}

Status StubDevToolsClient::HandleReceivedEvents() {}

void StubDevToolsClient::SetDetached() {}

void StubDevToolsClient::SetOwner(WebViewImpl* owner) {}

WebViewImpl* StubDevToolsClient::GetOwner() const {}

DevToolsClient* StubDevToolsClient::GetParentClient() const {}

bool StubDevToolsClient::IsMainPage() const {}

Status StubDevToolsClient::SendRaw(const std::string& message) {}

bool StubDevToolsClient::HasMessageForAnySession() const {}

Status StubDevToolsClient::AttachTo(DevToolsClient* parent) {}

void StubDevToolsClient::RegisterSessionHandler(const std::string& session_id,
                                                DevToolsClient* client) {}

void StubDevToolsClient::UnregisterSessionHandler(
    const std::string& session_id) {}

Status StubDevToolsClient::OnConnected() {}

Status StubDevToolsClient::ProcessEvent(InspectorEvent event) {}

Status StubDevToolsClient::ProcessCommandResponse(
    InspectorCommandResponse response) {}

int StubDevToolsClient::NextMessageId() const {}

int StubDevToolsClient::AdvanceNextMessageId() {}

Status StubDevToolsClient::ProcessNextMessage(int expected_id,
                                              bool log_timeout,
                                              const Timeout& timeout,
                                              DevToolsClient* caller) {}

Status StubDevToolsClient::GetDialogMessage(std::string& message) const {}

Status StubDevToolsClient::GetTypeOfDialog(std::string& type) const {}

Status StubDevToolsClient::HandleDialog(
    bool accept,
    const std::optional<std::string>& text) {}