chromium/components/content_capture/browser/content_capture_receiver.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 "components/content_capture/browser/content_capture_receiver.h"

#include <utility>

#include "base/json/json_writer.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
#include "base/values.h"
#include "components/content_capture/browser/onscreen_content_provider.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/web_contents.h"
#include "third_party/blink/public/common/associated_interfaces/associated_interface_provider.h"
#include "third_party/blink/public/mojom/favicon/favicon_url.mojom.h"

namespace content_capture {

namespace {

OnscreenContentProvider* GetOnscreenContentProvider(
    content::RenderFrameHost* rfh) {}

std::string ToFaviconTypeString(blink::mojom::FaviconIconType type) {}

}  // namespace

// static
std::string ContentCaptureReceiver::ToJSON(
    const std::vector<blink::mojom::FaviconURLPtr>& candidates) {}

ContentCaptureReceiver::ContentCaptureReceiver(content::RenderFrameHost* rfh)
    :{}

ContentCaptureReceiver::~ContentCaptureReceiver() = default;

int64_t ContentCaptureReceiver::GetIdFrom(content::RenderFrameHost* rfh) {}

void ContentCaptureReceiver::BindPendingReceiver(
    mojo::PendingAssociatedReceiver<mojom::ContentCaptureReceiver>
        pending_receiver) {}

void ContentCaptureReceiver::DidCaptureContent(const ContentCaptureData& data,
                                               bool first_data) {}

void ContentCaptureReceiver::DidUpdateContent(const ContentCaptureData& data) {}

void ContentCaptureReceiver::DidRemoveContent(
    const std::vector<int64_t>& data) {}

void ContentCaptureReceiver::StartCapture() {}

void ContentCaptureReceiver::StopCapture() {}

void ContentCaptureReceiver::RemoveSession() {}

void ContentCaptureReceiver::SetTitle(const std::u16string& title) {}

void ContentCaptureReceiver::UpdateFaviconURL(
    const std::vector<blink::mojom::FaviconURLPtr>& candidates) {}

void ContentCaptureReceiver::RetrieveFaviconURL() {}

void ContentCaptureReceiver::NotifyTitleUpdate() {}

const mojo::AssociatedRemote<mojom::ContentCaptureSender>&
ContentCaptureReceiver::GetContentCaptureSender() {}

const ContentCaptureFrame& ContentCaptureReceiver::GetContentCaptureFrame() {}

// static
bool
    ContentCaptureReceiver::disable_get_favicon_from_web_contents_for_testing_ =;

void ContentCaptureReceiver::DisableGetFaviconFromWebContentsForTesting() {}

// static
bool ContentCaptureReceiver::
    disable_get_favicon_from_web_contents_for_testing() {}

}  // namespace content_capture