#include "extensions/browser/guest_view/web_view/web_view_renderer_state.h"
#include "base/containers/contains.h"
#include "content/public/browser/browser_thread.h"
BrowserThread;
namespace extensions {
WebViewRendererState::WebViewInfo::WebViewInfo() { … }
WebViewRendererState::WebViewInfo::WebViewInfo(const WebViewInfo& other) =
default;
WebViewRendererState::WebViewInfo::~WebViewInfo() { … }
WebViewRendererState* WebViewRendererState::GetInstance() { … }
WebViewRendererState::WebViewRendererState() { … }
WebViewRendererState::~WebViewRendererState() { … }
bool WebViewRendererState::IsGuest(int render_process_id) const { … }
void WebViewRendererState::AddGuest(int guest_process_id,
int guest_routing_id,
const WebViewInfo& web_view_info) { … }
void WebViewRendererState::RemoveGuest(int guest_process_id,
int guest_routing_id) { … }
bool WebViewRendererState::GetInfo(int guest_process_id,
int guest_routing_id,
WebViewInfo* web_view_info) const { … }
bool WebViewRendererState::GetOwnerInfo(int guest_process_id,
int* owner_process_id,
std::string* owner_host) const { … }
bool WebViewRendererState::GetPartitionID(int guest_process_id,
std::string* partition_id) const { … }
void WebViewRendererState::AddContentScriptIDs(
int embedder_process_id,
int view_instance_id,
const std::set<std::string>& script_ids) { … }
void WebViewRendererState::RemoveContentScriptIDs(
int embedder_process_id,
int view_instance_id,
const std::set<std::string>& script_ids) { … }
}