chromium/content/browser/devtools/protocol/background_service_handler.cc

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

#include "content/browser/devtools/protocol/background_service_handler.h"

#include "base/metrics/histogram_functions.h"
#include "content/browser/renderer_host/frame_tree.h"
#include "content/browser/service_worker/service_worker_version.h"
#include "content/browser/storage_partition_impl.h"
#include "content/public/browser/devtools_background_services_context.h"
#include "content/public/browser/render_process_host.h"

namespace content {
namespace protocol {

namespace {

devtools::proto::BackgroundService ServiceNameToEnum(
    const std::string& service_name) {}

std::string ServiceEnumToName(devtools::proto::BackgroundService service_enum) {}

std::unique_ptr<protocol::Array<protocol::BackgroundService::EventMetadata>>
ProtoMapToArray(
    const google::protobuf::Map<std::string, std::string>& event_metadata_map) {}

std::unique_ptr<protocol::BackgroundService::BackgroundServiceEvent>
ToBackgroundServiceEvent(const devtools::proto::BackgroundServiceEvent& event) {}

}  // namespace

BackgroundServiceHandler::BackgroundServiceHandler()
    :{}

BackgroundServiceHandler::~BackgroundServiceHandler() {}

void BackgroundServiceHandler::Wire(UberDispatcher* dispatcher) {}

void BackgroundServiceHandler::SetRenderer(int process_host_id,
                                           RenderFrameHostImpl* frame_host) {}

void BackgroundServiceHandler::SetDevToolsContext(
    DevToolsBackgroundServicesContext* devtools_context) {}

Response BackgroundServiceHandler::Disable() {}

void BackgroundServiceHandler::StartObserving(
    const std::string& service,
    std::unique_ptr<StartObservingCallback> callback) {}

Response BackgroundServiceHandler::StopObserving(const std::string& service) {}

void BackgroundServiceHandler::DidGetLoggedEvents(
    devtools::proto::BackgroundService service,
    std::unique_ptr<StartObservingCallback> callback,
    std::vector<devtools::proto::BackgroundServiceEvent> events) {}

Response BackgroundServiceHandler::SetRecording(bool should_record,
                                                const std::string& service) {}

Response BackgroundServiceHandler::ClearEvents(const std::string& service) {}

void BackgroundServiceHandler::OnEventReceived(
    const devtools::proto::BackgroundServiceEvent& event) {}

void BackgroundServiceHandler::OnRecordingStateChanged(
    bool should_record,
    devtools::proto::BackgroundService service) {}

}  // namespace protocol
}  // namespace content