chromium/extensions/browser/api/messaging/channel_endpoint.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 "extensions/browser/api/messaging/channel_endpoint.h"

#include "content/public/browser/child_process_host.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_process_host.h"
#include "extensions/browser/process_manager.h"
#include "extensions/common/constants.h"

namespace extensions {

ChannelEndpoint::ChannelEndpoint(content::BrowserContext* browser_context,
                                 int render_process_id,
                                 const PortContext& port_context)
    :{}

// For native message endpoint.
ChannelEndpoint::ChannelEndpoint(content::BrowserContext* browser_context)
    :{}

bool ChannelEndpoint::is_for_service_worker() const {}

bool ChannelEndpoint::is_for_render_frame() const {}

bool ChannelEndpoint::is_for_native_host() const {}

content::RenderFrameHost* ChannelEndpoint::GetRenderFrameHost() const {}

WorkerId ChannelEndpoint::GetWorkerId() const {}

bool ChannelEndpoint::IsValid() const {}

}  // namespace extensions