#include "chrome/browser/permissions/one_time_permissions_tracker_helper.h"
#include "chrome/browser/media/webrtc/media_capture_devices_dispatcher.h"
#include "chrome/browser/permissions/one_time_permissions_tracker.h"
#include "chrome/browser/permissions/one_time_permissions_tracker_factory.h"
#include "chrome/browser/resource_coordinator/tab_lifecycle_unit_external.h"
#include "content/public/browser/visibility.h"
OneTimePermissionsTrackerHelper::~OneTimePermissionsTrackerHelper() = default;
void OneTimePermissionsTrackerHelper::WebContentsDestroyed() { … }
void OneTimePermissionsTrackerHelper::OnVisibilityChanged(
content::Visibility visibility) { … }
void OneTimePermissionsTrackerHelper::PrimaryPageChanged(content::Page& page) { … }
void OneTimePermissionsTrackerHelper::OnIsCapturingVideoChanged(
content::WebContents* web_contents,
bool is_capturing_video) { … }
void OneTimePermissionsTrackerHelper::OnIsCapturingAudioChanged(
content::WebContents* web_contents,
bool is_capturing_audio) { … }
OneTimePermissionsTrackerHelper::OneTimePermissionsTrackerHelper(
content::WebContents* web_contents)
: … { … }
void OneTimePermissionsTrackerHelper::OnDiscardedStateChange(
content::WebContents* contents,
LifecycleUnitDiscardReason reason,
bool is_discarded) { … }
WEB_CONTENTS_USER_DATA_KEY_IMPL(OneTimePermissionsTrackerHelper);