#include "chrome/browser/tpcd/support/trial_test_utils.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/browser/dips/dips_utils.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "content/public/browser/cookie_access_details.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/test/browser_test_utils.h"
CookieAccessDetails;
NavigationHandle;
RenderFrameHost;
WebContents;
namespace tpcd::trial {
void AccessCookieViaJsIn(content::WebContents* web_contents,
content::RenderFrameHost* frame) { … }
ContentSettingChangeObserver::ContentSettingChangeObserver(
content::BrowserContext* browser_context,
const GURL request_url,
const GURL partition_url,
ContentSettingsType setting_type)
: … { … }
ContentSettingChangeObserver::~ContentSettingChangeObserver() { … }
void ContentSettingChangeObserver::Wait() { … }
void ContentSettingChangeObserver::OnContentSettingChanged(
const ContentSettingsPattern& primary_pattern,
const ContentSettingsPattern& secondary_pattern,
ContentSettingsTypeSet content_type_set) { … }
URLCookieAccessObserver::URLCookieAccessObserver(WebContents* web_contents,
const GURL& url,
CookieOperation access_type)
: … { … }
void URLCookieAccessObserver::Wait() { … }
void URLCookieAccessObserver::OnCookiesAccessed(
RenderFrameHost* render_frame_host,
const CookieAccessDetails& details) { … }
void URLCookieAccessObserver::OnCookiesAccessed(
NavigationHandle* navigation_handle,
const CookieAccessDetails& details) { … }
FrameCookieAccessObserver::FrameCookieAccessObserver(
WebContents* web_contents,
RenderFrameHost* render_frame_host,
CookieOperation access_type)
: … { … }
void FrameCookieAccessObserver::Wait() { … }
void FrameCookieAccessObserver::OnCookiesAccessed(
RenderFrameHost* render_frame_host,
const CookieAccessDetails& details) { … }
}