#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)
: … { … }
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 { … }
}