chromium/third_party/blink/renderer/platform/testing/scoped_fake_ukm_recorder.cc

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

#include "third_party/blink/renderer/platform/testing/scoped_fake_ukm_recorder.h"

#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "services/metrics/public/cpp/ukm_recorder_client_interface_registry.h"
#include "services/metrics/public/mojom/ukm_interface.mojom-blink.h"
#include "third_party/blink/public/common/thread_safe_browser_interface_broker_proxy.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"
#include "third_party/blink/renderer/platform/wtf/std_lib_extras.h"
namespace blink {

ScopedFakeUkmRecorder::ScopedFakeUkmRecorder()
    :{}

ScopedFakeUkmRecorder::~ScopedFakeUkmRecorder() {}

void ScopedFakeUkmRecorder::AddEntry(ukm::mojom::UkmEntryPtr entry) {}
void ScopedFakeUkmRecorder::CreateUkmRecorder(
    mojo::PendingReceiver<ukm::mojom::UkmRecorderInterface> receiver,
    mojo::PendingRemote<ukm::mojom::UkmRecorderClientInterface> client_remote) {}

void ScopedFakeUkmRecorder::UpdateSourceURL(int64_t source_id,
                                            const std::string& url) {}

void ScopedFakeUkmRecorder::ResetRecorder() {}

void ScopedFakeUkmRecorder::SetHandle(mojo::ScopedMessagePipeHandle handle) {}

}  // namespace blink